OneOf-3.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


OneOf(T3)

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

public OneOf(T3 value)
ParameterTypeDescription
valueT3The value of type T3.

See Also