mscorlib(4.0.0.0) API with additions
System.Threading.LockCookie Struct Reference

Defines the lock that implements single-writer/multiple-reader semantics. This is a value type. More...

Public Member Functions

override int GetHashCode ()
 Returns the hash code for this instance. More...
 
override bool Equals (object obj)
 Indicates whether a specified object is a T:System.Threading.LockCookie and is equal to the current instance. More...
 
bool Equals (LockCookie obj)
 Indicates whether the current instance is equal to the specified T:System.Threading.LockCookie. More...
 

Static Public Member Functions

static bool operator== (LockCookie a, LockCookie b)
 Indicates whether two T:System.Threading.LockCookie structures are equal. More...
 
static bool operator != (LockCookie a, LockCookie b)
 Indicates whether two T:System.Threading.LockCookie structures are not equal. More...
 

Detailed Description

Defines the lock that implements single-writer/multiple-reader semantics. This is a value type.

Definition at line 7 of file LockCookie.cs.

Member Function Documentation

◆ Equals() [1/2]

override bool System.Threading.LockCookie.Equals ( object  obj)

Indicates whether a specified object is a T:System.Threading.LockCookie and is equal to the current instance.

Parameters
objThe object to compare to the current instance.
Returns
true if the value of obj is equal to the value of the current instance; otherwise, false.

Definition at line 28 of file LockCookie.cs.

◆ Equals() [2/2]

bool System.Threading.LockCookie.Equals ( LockCookie  obj)

Indicates whether the current instance is equal to the specified T:System.Threading.LockCookie.

Parameters
objThe T:System.Threading.LockCookie to compare to the current instance.
Returns
true if obj is equal to the value of the current instance; otherwise, false.

Definition at line 41 of file LockCookie.cs.

◆ GetHashCode()

override int System.Threading.LockCookie.GetHashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

Definition at line 19 of file LockCookie.cs.

◆ operator !=()

static bool System.Threading.LockCookie.operator != ( LockCookie  a,
LockCookie  b 
)
static

Indicates whether two T:System.Threading.LockCookie structures are not equal.

Parameters
aThe T:System.Threading.LockCookie to compare to b .
bThe T:System.Threading.LockCookie to compare to a .
Returns
true if a is not equal to b ; otherwise, false.

Definition at line 65 of file LockCookie.cs.

◆ operator==()

static bool System.Threading.LockCookie.operator== ( LockCookie  a,
LockCookie  b 
)
static

Indicates whether two T:System.Threading.LockCookie structures are equal.

Parameters
aThe T:System.Threading.LockCookie to compare to b .
bThe T:System.Threading.LockCookie to compare to a .
Returns
true if a is equal to b ; otherwise, false.

Definition at line 55 of file LockCookie.cs.


The documentation for this struct was generated from the following file: