WithDefault Method
WithDefault(string, string)
Adds a default key/value pair to use when building the options.
Declaration
public TBuilder WithDefault(string key, string value)
Parameters
string | key | The key. |
string | value | The value. |
Returns
TBuilder | This options builder. |
WithDefault(string, object)
Adds a default key/value pair to use when building the options.
Declaration
public TBuilder WithDefault(string key, object value)
Parameters
string | key | The key. |
object | value | The value. |
Returns
TBuilder | This options builder. |
WithDefault(Action<TOptions>)
Adds an TOptions
default configuration delegate.
Declaration
public TBuilder WithDefault(Action<TOptions> configure)
Parameters
Action<TOptions> | configure | The delegate. |
Returns
TBuilder | This options builder. |