OptionsServiceCollectionExtensions.PostConfigure 메서드

정의

오버로드

PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)

특정 유형의 옵션을 초기화하는 데 사용되는 동작을 등록합니다.Registers an action used to initialize a particular type of options. 참고: 모든 항목 이후에 실행됩니다.Note: These are run after all 을 선택합니다..

PostConfigure<TOptions>(IServiceCollection, String, Action<TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.Registers an action used to configure a particular type of options. 참고: 모든 항목 이후에 실행됩니다.Note: These are run after all 을 선택합니다..

PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)

특정 유형의 옵션을 초기화하는 데 사용되는 동작을 등록합니다.Registers an action used to initialize a particular type of options. 참고: 모든 항목 이후에 실행됩니다.Note: These are run after all 을 선택합니다..

public:
generic <typename TOptions>
 where TOptions : class[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ PostConfigure(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<TOptions> ^ configureOptions);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection PostConfigure<TOptions> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<TOptions> configureOptions) where TOptions : class;
static member PostConfigure : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<'Options (requires 'Options : null)> -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'Options : null)
<Extension()>
Public Function PostConfigure(Of TOptions As Class) (services As IServiceCollection, configureOptions As Action(Of TOptions)) As IServiceCollection

형식 매개 변수

TOptions

구성할 옵션 유형입니다.The options type to be configured.

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.The IServiceCollection to add the services to.

configureOptions
Action<TOptions>

옵션을 구성하는 데 사용되는 동작입니다.The action used to configure the options.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.The IServiceCollection so that additional calls can be chained.

PostConfigure<TOptions>(IServiceCollection, String, Action<TOptions>)

특정 유형의 옵션을 구성하는 데 사용되는 동작을 등록합니다.Registers an action used to configure a particular type of options. 참고: 모든 항목 이후에 실행됩니다.Note: These are run after all 을 선택합니다..

public:
generic <typename TOptions>
 where TOptions : class[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ PostConfigure(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, System::String ^ name, Action<TOptions> ^ configureOptions);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection PostConfigure<TOptions> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<TOptions> configureOptions) where TOptions : class;
static member PostConfigure : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<'Options (requires 'Options : null)> -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'Options : null)
<Extension()>
Public Function PostConfigure(Of TOptions As Class) (services As IServiceCollection, name As String, configureOptions As Action(Of TOptions)) As IServiceCollection

형식 매개 변수

TOptions

구성할 옵션 유형입니다.The options type to be configure.

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.The IServiceCollection to add the services to.

name
String

옵션 인스턴스의 이름입니다.The name of the options instance.

configureOptions
Action<TOptions>

옵션을 구성하는 데 사용되는 동작입니다.The action used to configure the options.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.The IServiceCollection so that additional calls can be chained.

적용 대상