Table of Contents

ConfigureRevert Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Patterns.cs

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

options TOptions

An instance of the configured options.

Returns

Action<TOptions>

An Action<T> otherwise equivalent to options.

Type Parameters

TOptions

The type of the configuration options having a default constructor.

Exceptions

ArgumentNullException

options cannot be null.