Table of Contents

Class Configurable<TOptions>

Namespace
Cuemon.Configuration
Assembly
Cuemon.Core.dll

Provides a generic way to support the options pattern on a class level.

public abstract class Configurable<TOptions> : IConfigurable<TOptions> where TOptions : class, IParameterObject, new()

Type Parameters

TOptions

The type of the configured options.

Inheritance
Object
Configurable<TOptions>
Implements
IConfigurable<TOptions>
Derived

Constructors

Configurable(TOptions)

Initializes a new instance of the Configurable<TOptions> class.

protected Configurable(TOptions options)

Parameters

options TOptions

The configured options of this instance.

Exceptions

System.ArgumentNullException

options cannot be null.

ArgumentException

options are not in a valid state.

Properties

Options

Gets the configured options of this instance.

public TOptions Options { get; }

Property Value

TOptions

The configured options of this instance.

See Also

IConfigurable<TOptions>