Interface IOptionsBuilder
Used for building configuration options.
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Options
Assembly:MyTested.AspNetCore.Mvc.Options.dll
Syntax
public interface IOptionsBuilder
Methods
| Improve this Doc View SourceFor<TOptions>(Action<TOptions>)
Sets initial values to the provided configuration options.
Declaration
void For<TOptions>(Action<TOptions> optionsSetup)where TOptions : class, new ()
Parameters
Type | Name | Description |
---|---|---|
System.Action<TOptions> | optionsSetup | Action setting the configuration options. |
Type Parameters
Name | Description |
---|---|
TOptions | Type of configuration options to set up. |