The ApplicationState type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ApplicationState |
Methods
| Name | Description | |
|---|---|---|
| Add |
Add an application state object
| |
| Equals | (Inherited from Object.) | |
| Exist |
Check if a an object already exist
| |
| 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 | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Item |
Get a specific object
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Remove a specific object
| |
| RemoveAll |
Remove all objects
WARNING: it will remove all objects -including those who were not created by this class | |
| Set |
Update a value of a specific object
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| Separator |
Seperator to be used within application state keys
|
Properties
| Name | Description | |
|---|---|---|
| Get |
Get an instance of the class using the singleton pattern for maximum performance
The class can be used directly like a static class without being instantiated Singleton pattern - http://en.wikipedia.org/wiki/Singleton_pattern Implementing the Singleton Pattern - http://www.yoda.arachsys.com/csharp/singleton.html The singleton pattern VS static classes - http://dotnet.org.za/reyn/archive/2004/07/07/2606.aspx |