CancellationTokenEqualityComparer Class
Namespace: Cysharp.Threading.Tasks
Assembly: cs.temp.dll.dll
public class CancellationTokenEqualityComparer
Inheritance
System.Object → CancellationTokenEqualityComparerImplements
System.Collections.IEqualityComparer<System.Threading.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<System.Threading.CancellationToken>
Methods
Equals(CancellationToken, CancellationToken)
public bool Equals(CancellationToken x, CancellationToken y)
Parameters
x
System.Threading.CancellationTokeny
System.Threading.CancellationToken
Returns
- System.Boolean
GetHashCode(CancellationToken)
public int GetHashCode(CancellationToken obj)
Parameters
obj
System.Threading.CancellationToken
Returns
- System.Int32
Implements
System.Collections.IEqualityComparer<>