OptionsBuilder<TOptions>.PostConfigure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PostConfigure(Action<TOptions>) |
Registers an action used to configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure<TDep>(Action<TOptions,TDep>) |
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure<TDep1,TDep2,TDep3,TDep4,TDep5>(Action<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>) |
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure<TDep1,TDep2,TDep3,TDep4>(Action<TOptions,TDep1,TDep2,TDep3,TDep4>) |
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure<TDep1,TDep2,TDep3>(Action<TOptions,TDep1,TDep2,TDep3>) |
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure<TDep1,TDep2>(Action<TOptions,TDep1,TDep2>) |
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>). |
PostConfigure(Action<TOptions>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure (Action<TOptions> configureOptions);
abstract member PostConfigure : Action<'Options (requires 'Options : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)>
override this.PostConfigure : Action<'Options (requires 'Options : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)>
Public Overridable Function PostConfigure (configureOptions As Action(Of TOptions)) As OptionsBuilder(Of TOptions)
Parameters
- configureOptions
- Action<TOptions>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.
Applies to
PostConfigure<TDep>(Action<TOptions,TDep>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
generic <typename TDep>
where TDep : class virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions, TDep> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep> (Action<TOptions,TDep> configureOptions) where TDep : class;
abstract member PostConfigure : Action<'Options, 'Dep (requires 'Options : null and 'Dep : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'Dep : null)
override this.PostConfigure : Action<'Options, 'Dep (requires 'Options : null and 'Dep : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'Dep : null)
Public Overridable Function PostConfigure(Of TDep As Class) (configureOptions As Action(Of TOptions, TDep)) As OptionsBuilder(Of TOptions)
Type Parameters
- TDep
The dependency used by the action.
Parameters
- configureOptions
- Action<TOptions,TDep>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.
Applies to
PostConfigure<TDep1,TDep2,TDep3,TDep4,TDep5>(Action<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
generic <typename TDep1, typename TDep2, typename TDep3, typename TDep4, typename TDep5>
where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1,TDep2,TDep3,TDep4,TDep5> (Action<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class;
abstract member PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null and 'TDep5 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null and 'TDep5 : null)
override this.PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null and 'TDep5 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null and 'TDep5 : null)
Public Overridable Function PostConfigure(Of TDep1 As Class, TDep2 As Class, TDep3 As Class, TDep4 As Class, TDep5 As Class) (configureOptions As Action(Of TOptions, TDep1, TDep2, TDep3, TDep4, TDep5)) As OptionsBuilder(Of TOptions)
Type Parameters
- TDep1
The first dependency used by the action.
- TDep2
The second dependency used by the action.
- TDep3
The third dependency used by the action.
- TDep4
The fourth dependency used by the action.
- TDep5
The fifth dependency used by the action.
Parameters
- configureOptions
- Action<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.
Applies to
PostConfigure<TDep1,TDep2,TDep3,TDep4>(Action<TOptions,TDep1,TDep2,TDep3,TDep4>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
generic <typename TDep1, typename TDep2, typename TDep3, typename TDep4>
where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions, TDep1, TDep2, TDep3, TDep4> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1,TDep2,TDep3,TDep4> (Action<TOptions,TDep1,TDep2,TDep3,TDep4> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class;
abstract member PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null)
override this.PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null)
Public Overridable Function PostConfigure(Of TDep1 As Class, TDep2 As Class, TDep3 As Class, TDep4 As Class) (configureOptions As Action(Of TOptions, TDep1, TDep2, TDep3, TDep4)) As OptionsBuilder(Of TOptions)
Type Parameters
- TDep1
The first dependency used by the action.
- TDep2
The second dependency used by the action.
- TDep3
The third dependency used by the action.
- TDep4
The fourth dependency used by the action.
Parameters
- configureOptions
- Action<TOptions,TDep1,TDep2,TDep3,TDep4>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.
Applies to
PostConfigure<TDep1,TDep2,TDep3>(Action<TOptions,TDep1,TDep2,TDep3>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
generic <typename TDep1, typename TDep2, typename TDep3>
where TDep1 : class where TDep2 : class where TDep3 : class virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions, TDep1, TDep2, TDep3> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1,TDep2,TDep3> (Action<TOptions,TDep1,TDep2,TDep3> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class;
abstract member PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null)
override this.PostConfigure : Action<'Options, 'TDep1, 'TDep2, 'TDep3 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null and 'TDep3 : null)
Public Overridable Function PostConfigure(Of TDep1 As Class, TDep2 As Class, TDep3 As Class) (configureOptions As Action(Of TOptions, TDep1, TDep2, TDep3)) As OptionsBuilder(Of TOptions)
Type Parameters
- TDep1
The first dependency used by the action.
- TDep2
The second dependency used by the action.
- TDep3
The third dependency used by the action.
Parameters
- configureOptions
- Action<TOptions,TDep1,TDep2,TDep3>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.
Applies to
PostConfigure<TDep1,TDep2>(Action<TOptions,TDep1,TDep2>)
- Source:
- OptionsBuilder.cs
- Source:
- OptionsBuilder.cs
Registers an action used to post configure a particular type of options. Note: These are run after all Configure(Action<TOptions>).
public:
generic <typename TDep1, typename TDep2>
where TDep1 : class where TDep2 : class virtual Microsoft::Extensions::Options::OptionsBuilder<TOptions> ^ PostConfigure(Action<TOptions, TDep1, TDep2> ^ configureOptions);
public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1,TDep2> (Action<TOptions,TDep1,TDep2> configureOptions) where TDep1 : class where TDep2 : class;
abstract member PostConfigure : Action<'Options, 'TDep1, 'TDep2 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null)
override this.PostConfigure : Action<'Options, 'TDep1, 'TDep2 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null)> -> Microsoft.Extensions.Options.OptionsBuilder<'Options (requires 'Options : null)> (requires 'TDep1 : null and 'TDep2 : null)
Public Overridable Function PostConfigure(Of TDep1 As Class, TDep2 As Class) (configureOptions As Action(Of TOptions, TDep1, TDep2)) As OptionsBuilder(Of TOptions)
Type Parameters
- TDep1
The first dependency used by the action.
- TDep2
The second dependency used by the action.
Parameters
- configureOptions
- Action<TOptions,TDep1,TDep2>
The action used to configure the options.
Returns
The current OptionsBuilder<TOptions>.