Triplet Struct

Capsulize the placeholder type, the unit type, and the sugarcoater.

C#
public struct Triplet
Inheritance
Triplet

Properties

PlaceHolderType

Gets the placeholder type.

UnitType

Gets the unit type.

Sugarcoater

Gets the sugarcoater.

Methods

Of(Type)

Gets a new triplet associated with the specified type.

Equals(object) (Inherited from ValueType)
GetHashCode() (Inherited from ValueType)
ToString() (Inherited from ValueType)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)

Properties Detail

PlaceHolderType

Gets the placeholder type.

C#
public Type PlaceHolderType { get; }

Property Value

UnitType

Gets the unit type.

C#
public Type UnitType { get; }

Property Value

Sugarcoater

Gets the sugarcoater.

C#
public Sugarcoater<object> Sugarcoater { get; }

Property Value

Methods Detail

Of(Type)

Gets a new triplet associated with the specified type.

C#
public static Triplet Of(Type type)

Parameters

type
Type

The type.

Returns

The new triplet.