ConfigureRevert Method
Definition
ConfigureRevert<TOptions>(TOptions)
Returns the delegate that will configure the public read-write properties of TOptions.
public static Action<TOptions> ConfigureRevert<TOptions>(TOptions options) where TOptions : class, new()
Parameters
optionsTOptionsAn instance of the configured options.
Returns
Type Parameters
TOptionsThe type of the configuration options having a default constructor.
Exceptions
- ArgumentNullException
optionscannot be null.