Sample01 1.0.0.0
Sample01 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
Sample01.Program 클래스 참조

더 자세히 ...

정적 Public 멤버 함수

static void Main ()

상세한 설명

Program 기능과 관련 상태를 캡슐화합니다.

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

멤버 함수 문서화

◆ Main()

void Sample01.Program.Main ( )
inlinestatic

Main 작업을 수행합니다.

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

34 {
35 HostApplicationBuilder builder = Host.CreateApplicationBuilder();
36
37 builder.Services.AddDreamineHybridWpf();
38
39 builder.Services.AddSingleton<MainWindow>();
40 builder.Services.AddSingleton<MainWindowViewModel>();
41
42 builder.Services.AddSingleton<IHybridStateStore<CounterState>>(
43 new HybridStateStore<CounterState>(
44 new CounterState(
45 Count: 0,
46 LastSource: "-",
47 LastUpdated: null)));
48
49 builder.Services.AddDreamineBlazorServer<AppShell>(options =>
50 {
51 options.Port = 5000;
52
53 options.SharedServiceTypes.Add(
54 typeof(IHybridStateStore<CounterState>));
55 });
56
57 builder.Build().RunDreamineWpfApp<App>();
58 }
record CounterState(int Count, string LastSource, DateTime? LastUpdated)

다음을 참조함 : Sample01.States.CounterState().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

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