OneOf-2.OneOf

OneOf(T1)

Initializes a new instance of the OneOf class with a value of type T1.

public OneOf(T1 value)
ParameterTypeDescription
valueT1The value of type T1.

See Also


OneOf(T2)

Initializes a new instance of the OneOf class with a value of type T2.

public OneOf(T2 value)
ParameterTypeDescription
valueT2The value of type T2.

See Also