共用方式為


SumType<T1,T2,T3>.Implicit Operator

Definition

Overloads

Implicit(T3 to Nullable<SumType<T1,T2,T3>>)
Implicit(T3 to SumType<T1,T2,T3>)
Implicit(T2 to Nullable<SumType<T1,T2,T3>>)
Implicit(SumType<T1,T2> to SumType<T1,T2,T3>)
Implicit(T1 to Nullable<SumType<T1,T2,T3>>)
Implicit(T1 to SumType<T1,T2,T3>)
Implicit(T2 to SumType<T1,T2,T3>)

Implicit(T3 to Nullable<SumType<T1,T2,T3>>)

public:
 static operator Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>>(T3 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3>? (T3? val);
static member op_Implicit : 'T3 -> Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>>
Public Shared Widening Operator CType (val As T3) As Nullable(Of SumType(Of T1, T2, T3))

Parameters

val
T3

Returns

Nullable<SumType<T1,T2,T3>>

Applies to

Implicit(T3 to SumType<T1,T2,T3>)

public:
 static operator Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>(T3 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3> (T3 val);
static member op_Implicit : 'T3 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>
Public Shared Widening Operator CType (val As T3) As SumType(Of T1, T2, T3)

Parameters

val
T3

Returns

Applies to

Implicit(T2 to Nullable<SumType<T1,T2,T3>>)

public:
 static operator Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>>(T2 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3>? (T2? val);
static member op_Implicit : 'T2 -> Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>>
Public Shared Widening Operator CType (val As T2) As Nullable(Of SumType(Of T1, T2, T3))

Parameters

val
T2

Returns

Nullable<SumType<T1,T2,T3>>

Applies to

Implicit(SumType<T1,T2> to SumType<T1,T2,T3>)

public:
 static operator Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>(Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2> sum);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3> (Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2> sum);
static member op_Implicit : Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2> -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>
Public Shared Widening Operator CType (sum As SumType(Of T1, T2)) As SumType(Of T1, T2, T3)

Parameters

Returns

Applies to

Implicit(T1 to Nullable<SumType<T1,T2,T3>>)

public:
 static operator Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>>(T1 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3>? (T1? val);
static member op_Implicit : 'T1 -> Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>>
Public Shared Widening Operator CType (val As T1) As Nullable(Of SumType(Of T1, T2, T3))

Parameters

val
T1

Returns

Nullable<SumType<T1,T2,T3>>

Applies to

Implicit(T1 to SumType<T1,T2,T3>)

public:
 static operator Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>(T1 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3> (T1 val);
static member op_Implicit : 'T1 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>
Public Shared Widening Operator CType (val As T1) As SumType(Of T1, T2, T3)

Parameters

val
T1

Returns

Applies to

Implicit(T2 to SumType<T1,T2,T3>)

public:
 static operator Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2, T3>(T2 val);
public static implicit operator Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2,T3> (T2 val);
static member op_Implicit : 'T2 -> Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2, 'T3>
Public Shared Widening Operator CType (val As T2) As SumType(Of T1, T2, T3)

Parameters

val
T2

Returns

Applies to