IRazorComponentsBuilder 인터페이스

정의

Razor 구성 요소를 구성하는 데 사용할 수 있는 작성기입니다.

public interface IRazorComponentsBuilder
type IRazorComponentsBuilder = interface
Public Interface IRazorComponentsBuilder
파생

속성

Name Description
Services

IServiceCollection를 가져옵니다.

확장명 메서드

Name Description
AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)

Microsoft AddAuthenticationStateDeserialization을 호출하여 추가할 수 있는 역직렬화 클라이언트 쪽을 통해 대화형 WebAssembly 구성 요소에서 사용하기 위해 서버 쪽 AuthenticationStateProviderPersistentComponentStateAuthenticationStateProvider 에서 반환된 항목을 직렬화 AuthenticationState 합니다. 클라이언트 프로젝트의 AspNetCore.Components.WebAssembly.Authentication 패키지입니다.

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

Razor 구성 요소 애플리케이션에서 대화형 서버 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder, Action<WebAssemblyComponentsOptions>)

대화형 WebAssembly 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

대화형 WebAssembly 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

RegisterPersistentService<TPersistentService>(IRazorComponentsBuilder, IComponentRenderMode)

Razor 구성 요소 작성기에서 지정된 렌더링 모드로 영구 서비스를 등록합니다.

적용 대상