Dreamine.Web 1.0.0.0
WPF와 Blazor를 한 코드 흐름으로 연결하고 반복적인 MVVM 코드를 줄이는 오픈소스 FullKit 공식 웹 애플리케이션입니다.
로딩중...
검색중...
일치하는것 없음
DreamineWeb.ViewModels.HomeViewModel 클래스 참조

더 자세히 ...

DreamineWeb.ViewModels.HomeViewModel에 대한 상속 다이어그램 :
DreamineWeb.ViewModels.HomeViewModel에 대한 협력 다이어그램:

Public 멤버 함수

 HomeViewModel (ILibraryStore store, DreamineOptions opts)
async Task LoadAsync ()

속성

string SiteTitle [get]
string SiteDescription [get]
string GitHubOrgUrl [get]
List< LibraryInfoLibraries = [] [get, private set]
IEnumerable< IGrouping< string, LibraryInfo > > GroupedLibraries [get]

Private 속성

readonly ILibraryStore _store
readonly DreamineOptions _opts

상세한 설명

Home View Model 기능과 관련 상태를 캡슐화합니다.

HomeViewModel.cs 파일의 15 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ HomeViewModel()

DreamineWeb.ViewModels.HomeViewModel.HomeViewModel ( ILibraryStore store,
DreamineOptions opts )
inline

지정한 설정으로 HomeViewModel 클래스의 새 인스턴스를 초기화합니다.

매개변수
storestore에 사용할 ILibraryStore 값입니다.
optsopts에 사용할 DreamineOptions 값입니다.

HomeViewModel.cs 파일의 111 번째 라인에서 정의되었습니다.

112 {
113 _store = store;
114 _opts = opts;
115 }

다음을 참조함 : _opts, _store.

멤버 함수 문서화

◆ LoadAsync()

async Task DreamineWeb.ViewModels.HomeViewModel.LoadAsync ( )
inline

Async 데이터를 불러옵니다.

반환값
Load Async 작업에서 생성한 Task 결과입니다.

HomeViewModel.cs 파일의 133 번째 라인에서 정의되었습니다.

134 {
135 Libraries = await _store.GetAllAsync();
136 }

다음을 참조함 : _store, Libraries.

멤버 데이터 문서화

◆ _opts

readonly DreamineOptions DreamineWeb.ViewModels.HomeViewModel._opts
private

opts 값을 보관합니다.

HomeViewModel.cs 파일의 34 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : HomeViewModel().

◆ _store

readonly ILibraryStore DreamineWeb.ViewModels.HomeViewModel._store
private

store 값을 보관합니다.

HomeViewModel.cs 파일의 25 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : HomeViewModel(), LoadAsync().

속성 문서화

◆ GitHubOrgUrl

string DreamineWeb.ViewModels.HomeViewModel.GitHubOrgUrl
get

Git Hub Org Url 값을 가져옵니다.

HomeViewModel.cs 파일의 62 번째 라인에서 정의되었습니다.

◆ GroupedLibraries

IEnumerable<IGrouping<string, LibraryInfo> > DreamineWeb.ViewModels.HomeViewModel.GroupedLibraries
get

Grouped Libraries 값을 가져옵니다.

HomeViewModel.cs 파일의 82 번째 라인에서 정의되었습니다.

◆ Libraries

List<LibraryInfo> DreamineWeb.ViewModels.HomeViewModel.Libraries = []
getprivate set

Libraries 값을 가져오거나 설정합니다.

HomeViewModel.cs 파일의 72 번째 라인에서 정의되었습니다.

72{ get; private set; } = [];

다음에 의해서 참조됨 : LoadAsync().

◆ SiteDescription

string DreamineWeb.ViewModels.HomeViewModel.SiteDescription
get

Site Description 값을 가져옵니다.

HomeViewModel.cs 파일의 53 번째 라인에서 정의되었습니다.

◆ SiteTitle

string DreamineWeb.ViewModels.HomeViewModel.SiteTitle
get

Site Title 값을 가져옵니다.

HomeViewModel.cs 파일의 44 번째 라인에서 정의되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: