다음을 통해 공유


SumType<T1,T2>.Implicit Operator

Definition

Overloads

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

Implicit(T1 to SumType<T1,T2>)

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

Parameters

val
T1

Returns

Applies to

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

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

Parameters

val
T1

Returns

Nullable<SumType<T1,T2>>

Applies to

Implicit(T2 to SumType<T1,T2>)

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

Parameters

val
T2

Returns

Applies to

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

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

Parameters

val
T2

Returns

Nullable<SumType<T1,T2>>

Applies to