Skip to content

M_CodeJam_OneOf_5_Create_3

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

OneOf(T1, T2, T3, T4, T5).Create Method (T4)

Creates instance of OneOf(T1, T2, T3, T4, T5) for value of type T4.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static OneOf<T1, T2, T3, T4, T5> Create(
	T4 value
)

VB

Public Shared Function Create ( 
	value As T4
) As OneOf(Of T1, T2, T3, T4, T5)

F#

static member Create : 
        value : 'T4 -> OneOf<'T1, 'T2, 'T3, 'T4, 'T5> 

Parameters

 

value
Type: T4
Value of type T4 to create instance from.

Return Value

Type: OneOf(T1, T2, T3, T4, T5)
Value of OneOf(T1, T2, T3, T4, T5).

See Also

Reference

OneOf(T1, T2, T3, T4, T5) Class
Create Overload
CodeJam Namespace

Clone this wiki locally