Persistate API documentation
SessionSpecific<(Of <(<'T>)>)> Structure
NamespacesPersistateSessionSpecific<(Of <(<'T>)>)>

[This is preliminary documentation and is subject to change.]

Provides storage for an object which is specific to a particular Session.
Declaration Syntax
C#
public struct SessionSpecific<T>
Generic Template Parameters
T
The type of object to store.
Members
All MembersMethodsProperties



IconMemberDescription
Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
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.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Value
Gets or sets the session specific value.

Remarks

The object is accessed by the Value property, and this accesses different objects in different sessions, but always the same one in the same session. This is used for the backing fields for many type collections, since in different sessions these can have different contents at any one time.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)