CookieTable<TCookie, TCookieTraits, TValue> Members
Include Protected Members
Include Inherited Members
The CookieTable<TCookie, TCookieTraits, TValue> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
CookieTable<TCookie, TCookieTraits, TValue> | Constructor, initialize the current cookie |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Clear | Removes all elements in the cookie table |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
ForEach(CookieTableCallback<TCookie, TValue>) | Execute the specified callback for each of the remaining elements in the cookie table |
![]() |
ForEach(CookieTableCallback<TCookie, TValue>, Boolean) | Execute the specified callback for each of the elements in the cookie table, allows to call back even for elements that are removed during the iteration |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Insert | Insert a new element in the cookie table |
![]() |
Lock | Lock the table so subsequent insert/remove operations won't affect iterators |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Remove | Remove the value identified by the specified cookie from the table |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() |
TryGetValue | Checks whether the specified cookie is still in the table and returns the associated value |
![]() |
Unlock | Unlock the table. When the lock count goes to zero, perform all pending insert/remove/clear operations |
Top
Properties
Name | Description | |
---|---|---|
![]() |
IsLocked | Returns whether the table is currently locked for pending modifications |
![]() |
MaxSize | Returns the maximum size of the cookie table, as given by the cookie traits |
![]() |
PendingSize | Returns the size of the coookie table, including pending modifications |
![]() |
Size | Returns the size of the cookie table (if locked, return the size at the time the table was locked) |
Top