Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.PermanentManager Class

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

Syntax

public static class PermanentManager;

Constructors

This class cannot be instantiated.

Methods

PublicStaticAddObjectAdds a new permanent item.
PublicStaticClearAllClears all permanent items.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicStaticGetObjectRetrieves a permanent item.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicStaticRemoveObjectRemoves a permanent item.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicStaticTryGetObjectRetrieves a permanent item.

See Also YetaWF.Core Overview