Show / Hide Table of Contents

Struct AsyncReaderWriterLock.LockStamp

Represents lock stamp used for optimistic reading.

Implements
IEquatable<AsyncReaderWriterLock.LockStamp>
Inherited Members
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Threading
Assembly: DotNext.Threading.dll
Syntax
public readonly struct AsyncReaderWriterLock.LockStamp : IEquatable<AsyncReaderWriterLock.LockStamp>

Methods

View Source

Equals(LockStamp)

Declaration
public bool Equals(AsyncReaderWriterLock.LockStamp other)
Parameters
Type Name Description
AsyncReaderWriterLock.LockStamp other
Returns
Type Description
bool
View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

View Source

operator ==(LockStamp, LockStamp)

Declaration
public static bool operator ==(AsyncReaderWriterLock.LockStamp left, AsyncReaderWriterLock.LockStamp right)
Parameters
Type Name Description
AsyncReaderWriterLock.LockStamp left
AsyncReaderWriterLock.LockStamp right
Returns
Type Description
bool
View Source

operator !=(LockStamp, LockStamp)

Declaration
public static bool operator !=(AsyncReaderWriterLock.LockStamp left, AsyncReaderWriterLock.LockStamp right)
Parameters
Type Name Description
AsyncReaderWriterLock.LockStamp left
AsyncReaderWriterLock.LockStamp right
Returns
Type Description
bool

Implements

IEquatable<T>

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾