Implements SessionState I/O for an object of type TObj. Used to save/load object to/from .NET (Core) session state.
This can be used by applications to store session information. This is intended for large data objects.
For smaller data objects, the class YetaWF.Core.Support.Repository.SettingsDictionary offers storing dictionaries with named objects in session state.
Namespace: YetaWF.Core.IO
Assembly: YetaWF.Core
Inheritance
public class SessionStateIO<TObj>;
SessionStateIO<TObj> | Constructor. |
Data | The object to save or loaded from session state. | |
Key | The name of the object to load/save in session state. |
Equals | Determines whether the specified object is equal to the current object. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetHashCode | Serves as the default hash function. | |
GetType | Gets the Type of the current instance. | |
Load | Loads the object named by the Key property. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
Remove | Removes the object named by the Key property. Throws an error if the object does not exist. | |
Save | Saves the object defined by the Data property with the named Key. | |
ToString | Returns a string that represents the current object. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com