Manages permanently available items in-memory in a single site instance. Used for locally stored data. DO NOT USE - This is a dated construct and will be replaced.
Permanent items are available until the site is restarted and are shared within one site of a YetaWF instance.
Permanent items are identified by their Type. Only one item of a specific Type can be saved for one site. Each site within a YetaWF instance can save the same Type once.
This is typically used for permanent, high use data which should be cached and is shared across one site of a YetaWF instance. Cannot be used with distributed caching, i.e., data that must be shared with other instances.
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
Inheritance
public static class PermanentManager;
This class cannot be instantiated.
AddObject | Adds a new permanent item. | |
ClearAll | Clears all permanent items. | |
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. | |
GetObject | Retrieves a permanent item. | |
GetType | Gets the Type of the current instance. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
RemoveObject | Removes a permanent item. | |
ToString | Returns a string that represents the current object. | |
TryGetObject | Retrieves a permanent item. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com