CancellationTokenEqualityComparer Class
Namespace: Cysharp.Threading.Tasks
Assembly: cs.temp.dll.dll
public class CancellationTokenEqualityComparer
Inheritance
System.Object → CancellationTokenEqualityComparerImplements
System.Collections.IEqualityComparer<CancellationToken>
Members
Fields
Name | Description |
---|---|
Default |
Methods
Name | Description |
---|---|
Equals(CancellationToken, CancellationToken) | |
GetHashCode(CancellationToken) |
Fields
Default
public static readonly IEqualityComparer<CancellationToken> Default
Field Value
- System.Collections.IEqualityComparer<CancellationToken>
Methods
Equals(CancellationToken, CancellationToken)
public bool Equals(CancellationToken x, CancellationToken y)
Parameters
x
CancellationTokeny
CancellationToken
Returns
- System.Boolean
GetHashCode(CancellationToken)
public int GetHashCode(CancellationToken obj)
Parameters
obj
CancellationToken
Returns
- System.Int32
Implements
System.Collections.IEqualityComparer<>