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