Table of Contents

Class Initializer

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Provides a generic way to wrap and initialize a class for countless scenarios.

public static class Initializer
Inheritance
Object
Initializer

Methods

Create<T>(T)

Creates a new instance of the InitializerBuilder<T> wrapping the specified instance.

public static InitializerBuilder<T> Create<T>(T instance)
    where T : class

Parameters

instance T

The instance to initialize within a protective wrapping.

Returns

InitializerBuilder<T>

A new instance of InitializerBuilder<T> with the specified instance wrapped.

Type Parameters

T

The type of object to wrap.