The SessionVariable<(Of <(<'T>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SessionVariable<(Of <(<'T>)>)>(String) |
Initializes a new HttpContext.Session item variable
| |
| SessionVariable<(Of <(<'T>)>)>(String, Func<(Of <<'(T>)>>)) |
Initializes a new HttpContext.Session item variable with a initializer
|
Methods
| Name | Description | |
|---|---|---|
| Clear |
Clears the value in the current items
(Inherited from StateVariable<(Of <(<'T>)>)>.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove | (Overrides StateVariable<(Of <(<'T>)>)>..::..Remove(String).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| HasValue |
Indicates wether there is a value present or not
(Inherited from StateVariable<(Of <(<'T>)>)>.) | |
| Item | (Overrides StateVariable<(Of <(<'T>)>)>..::..Item[([( String])]) .) | |
| Value |
Sets or gets the value in the current items
(Inherited from StateVariable<(Of <(<'T>)>)>.) | |
| ValueOrDefault |
Gets the value in the current items or if none is available default(T) (Inherited from StateVariable<(Of <(<'T>)>)>.) |