ValueTask<TResult>.Equality(ValueTask<TResult>, ValueTask<TResult>) Operador

Definición

Compara dos valores para determinar si son iguales.Compares two values for equality.

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

Parámetros

left
ValueTask<TResult>

Primer valor que se va a comparar.The first value to compare.

right
ValueTask<TResult>

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Boolean

true si los dos valores ValueTask<TResult> son iguales; en caso contrario, false.true if the two ValueTask<TResult> values are equal; otherwise, false.

Se aplica a