Skip to content

M_CodeJam_OneOf_5_op_Implicit

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

OneOf(T1, T2, T3, T4, T5) Implicit Conversion (T1 to OneOf(T1, T2, T3, T4, T5))

Implicit cast operator.

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

Syntax

C#

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

VB

Public Shared Widening Operator CType ( 
	value As T1
) As OneOf(Of T1, T2, T3, T4, T5)

F#

Parameters

 

value
Type: T1
The parameter.

Return Value

Type: OneOf(T1, T2, T3, T4, T5)
Instance of OneOf(T1, T2, T3, T4, T5) for value of type T1.

See Also

Reference

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

Clone this wiki locally