Class Configurable<TOptions>
Provides a generic way to support the options pattern on a class level.
Inheritance
System.Object
Configurable<TOptions>
Implements
IConfigurable<TOptions>
Namespace: Cuemon.Configuration
Assembly: Cuemon.Core.dll
Syntax
public abstract class Configurable<TOptions> : IConfigurable<TOptions> where TOptions : class, new()
Type Parameters
Name | Description |
---|---|
TOptions | The type of the configured options. |
Constructors
| Improve this DocConfigurable(TOptions)
Initializes a new instance of the Configurable<TOptions> class.
Declaration
protected Configurable(TOptions options)
Parameters
Type | Name | Description |
---|---|---|
TOptions | options | The configured options of this instance. |
Properties
| Improve this DocOptions
Gets the configured options of this instance.
Declaration
public TOptions Options { get; }
Property Value
Type | Description |
---|---|
TOptions | The configured options of this instance. |
Implements
Extension Methods
See Also
IConfigurable<TOptions>