Dreamine.Hybrid.Wpf 1.0.3
`AddDreamineHybridWpf()` 내부에서 `AddWpfBlazorWebView()` 호출 및
로딩중...
검색중...
일치하는것 없음
Dreamine.Hybrid.Wpf.DependencyInjection.ServiceCollectionExtensions 클래스 참조

더 자세히 ...

정적 Public 멤버 함수

static IServiceCollection AddDreamineHybridWpf (this IServiceCollection services)

상세한 설명

Dreamine Hybrid WPF 서비스 등록 확장 메서드를 제공합니다.

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

멤버 함수 문서화

◆ AddDreamineHybridWpf()

IServiceCollection Dreamine.Hybrid.Wpf.DependencyInjection.ServiceCollectionExtensions.AddDreamineHybridWpf ( this IServiceCollection services)
inlinestatic

Dreamine Hybrid WPF 실행에 필요한 BlazorWebView와 메시지 버스 서비스를 등록합니다.

매개변수
services서비스를 추가할 컬렉션입니다.
반환값
연속 구성을 위한 동일한 서비스 컬렉션입니다.
예외
ArgumentNullExceptionservicesnull인 경우 발생합니다.

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

58 {
59 if (services is null)
60 {
61 throw new ArgumentNullException(nameof(services));
62 }
63
64 // BlazorWebView 구동 필수 서비스.
65 services.AddWpfBlazorWebView();
66
67 // 단일 프로세스 내 WPF ↔ Embedded Blazor ↔ Hosted Blazor 통신용 메시지 버스.
68 services.AddSingleton<IHybridMessageBus, InMemoryHybridMessageBus>();
69
70#if DEBUG
71 services.AddBlazorWebViewDeveloperTools();
72#endif
73
74 return services;
75 }

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