Edit

Bagikan melalui


ValueTask<TResult>.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(ValueTask<TResult>)

Determines whether the specified ValueTask<TResult> object is equal to the current ValueTask<TResult> object.

Equals(Object)

Source:
ValueTask.cs
Source:
ValueTask.cs
Source:
ValueTask.cs

Determines whether the specified object is equal to the current object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to

Equals(ValueTask<TResult>)

Source:
ValueTask.cs
Source:
ValueTask.cs
Source:
ValueTask.cs

Determines whether the specified ValueTask<TResult> object is equal to the current ValueTask<TResult> object.

public:
 virtual bool Equals(System::Threading::Tasks::ValueTask<TResult> other);
public bool Equals (System.Threading.Tasks.ValueTask<TResult> other);
override this.Equals : System.Threading.Tasks.ValueTask<'Result> -> bool
Public Function Equals (other As ValueTask(Of TResult)) As Boolean

Parameters

other
ValueTask<TResult>

The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Implements

Applies to