-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_OneOf_2_Create
Andrew Koryavchenko edited this page Jul 4, 2017
·
2 revisions
Creates instance of OneOf(T1, T2) for value of type T1.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static OneOf<T1, T2> Create(
T1 value
)
VB
Public Shared Function Create (
value As T1
) As OneOf(Of T1, T2)
F#
static member Create :
value : 'T1 -> OneOf<'T1, 'T2>
- value
- Type: T1
Value of type T1 to create instance from.
Type: OneOf(T1, T2)
Value of OneOf(T1, T2).