共用方式為


Results<TResult1,TResult2>.Implicit 運算子

定義

多載

Implicit(TResult1 to Results<TResult1,TResult2>)
Implicit(TResult2 to Results<TResult1,TResult2>)

Implicit(TResult1 to Results<TResult1,TResult2>)

來源:
ResultsOfT.Generated.cs
public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results<TResult1,TResult2> (TResult1 result);
static member op_Implicit : 'TResult1 -> Microsoft.AspNetCore.Http.HttpResults.Results<'TResult1, 'TResult2 (requires 'TResult1 :> Microsoft.AspNetCore.Http.IResult and 'TResult2 :> Microsoft.AspNetCore.Http.IResult)>
Public Shared Widening Operator CType (result As TResult1) As Results(Of TResult1, TResult2)

參數

result
TResult1

傳回

適用於

Implicit(TResult2 to Results<TResult1,TResult2>)

來源:
ResultsOfT.Generated.cs
public static implicit operator Microsoft.AspNetCore.Http.HttpResults.Results<TResult1,TResult2> (TResult2 result);
static member op_Implicit : 'TResult2 -> Microsoft.AspNetCore.Http.HttpResults.Results<'TResult1, 'TResult2 (requires 'TResult1 :> Microsoft.AspNetCore.Http.IResult and 'TResult2 :> Microsoft.AspNetCore.Http.IResult)>
Public Shared Widening Operator CType (result As TResult2) As Results(Of TResult1, TResult2)

參數

result
TResult2

傳回

適用於