Class Initializer
Provides a generic way to wrap and initialize a class for countless scenarios.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class Initializer
Methods
| Improve this Doc View SourceCreate<T>(T)
Creates a new instance of the InitializerBuilder<T> wrapping the specified instance
.
Declaration
public static InitializerBuilder<T> Create<T>(T instance)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | instance | The instance to initialize within a protective wrapping. |
Returns
Type | Description |
---|---|
InitializerBuilder<T> | A new instance of InitializerBuilder<T> with the specified |
Type Parameters
Name | Description |
---|---|
T | The type of object to wrap. |