Click or drag to resize
RequestStockObject<ObjectType> Class

Note: This API is now obsolete.

Defines a lazy loaded object stored in the request stock helper. Automatically creates the object if not available
Inheritance Hierarchy
System.Object
  CMS.Base.CMSLazy<ObjectType>
    CMS.Base.RequestStockValue<ObjectType>
      CMS.Base.RequestStockObject<ObjectType>

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use RequestStockValue instead.")]
public class RequestStockObject<ObjectType> : RequestStockValue<ObjectType>
where ObjectType : new()

Type Parameters

ObjectType

The RequestStockObject< ObjectType> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowCloneForNewThread
If true, the item is copied for the new thread
(Inherited from CMSLazy<TValue>.)
Public propertyDefaultValue
Default value
(Inherited from CMSLazy<TValue>.)
Protected propertyInitializer
Value initialization function
(Inherited from CMSLazy<TValue>.)
Public propertyIsValueCreated
Returns true if the value was already created
(Inherited from CMSLazy<TValue>.)
Public propertyRequestStockKey
Defines the key under which the object value should be stored in the request stock helper. If set, the object exists only within the particular request
(Inherited from CMSLazy<TValue>.)
Public propertyValue
Gets or sets the object value
(Inherited from CMSLazy<TValue>.)
Top
Methods
See Also