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(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. |