Condividi tramite


ValueTask<TResult>.Equality Operatore

Definizione

Confronta due valori per stabilirne l'uguaglianza.

public:
 static bool operator ==(System::Threading::Tasks::ValueTask<TResult> left, System::Threading::Tasks::ValueTask<TResult> right);
public static bool operator == (System.Threading.Tasks.ValueTask<TResult> left, System.Threading.Tasks.ValueTask<TResult> right);
static member ( = ) : System.Threading.Tasks.ValueTask<'Result> * System.Threading.Tasks.ValueTask<'Result> -> bool
Public Shared Operator == (left As ValueTask(Of TResult), right As ValueTask(Of TResult)) As Boolean

Parametri

left
ValueTask<TResult>

Primo valore da confrontare.

right
ValueTask<TResult>

Secondo valore da confrontare.

Restituisce

Boolean

true se i due valori ValueTask<TResult> sono uguali. In caso contrario, false.

Si applica a