SumType<T1,T2,T3,T4> Constructors

Definition

Overloads

SumType<T1,T2,T3,T4>(T1)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T1.

SumType<T1,T2,T3,T4>(T2)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T2.

SumType<T1,T2,T3,T4>(T3)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T3.

SumType<T1,T2,T3,T4>(T4)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T4.

SumType<T1,T2,T3,T4>(T1)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T1.

public:
 SumType(T1 val);
public SumType (T1 val);
new Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4> : 'T1 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4>
Public Sub New (val As T1)

Parameters

val
T1

The value to store in the SumType<T1,T2,T3,T4>.

Applies to

SumType<T1,T2,T3,T4>(T2)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T2.

public:
 SumType(T2 val);
public SumType (T2 val);
new Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4> : 'T2 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4>
Public Sub New (val As T2)

Parameters

val
T2

The value to store in the SumType<T1,T2,T3,T4>.

Applies to

SumType<T1,T2,T3,T4>(T3)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T3.

public:
 SumType(T3 val);
public SumType (T3 val);
new Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4> : 'T3 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4>
Public Sub New (val As T3)

Parameters

val
T3

The value to store in the SumType<T1,T2,T3,T4>.

Applies to

SumType<T1,T2,T3,T4>(T4)

Initializes a new instance of the SumType<T1,T2,T3,T4> struct containing a T4.

public:
 SumType(T4 val);
public SumType (T4 val);
new Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4> : 'T4 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3, 'T4>
Public Sub New (val As T4)

Parameters

val
T4

The value to store in the SumType<T1,T2,T3,T4>.

Applies to