Table of Contents

RawEnclose Method

Definition

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

RawEnclose<T>(T)

Encloses the specified inner so that it can be extended by non-common extension methods.

public static Decorator<T> RawEnclose<T>(T inner)

Parameters

inner T

The object to extend for non-common extension methods.

Returns

Decorator<T>

An instance of Decorator<T>.

Type Parameters

T

The type of the inner to wrap for non-common extension methods.

Remarks

Unlike Enclose<T>(T, bool), this method does not perform a null-check when wrapping the value.