Click or drag to resize
LazyObjectObjectType Class

Note: This API is now obsolete.

Lazy object, initialized with an empty constructor
Inheritance Hierarchy
SystemObject
  CMS.BaseCMSLazyObjectType
    CMS.BaseLazyObjectObjectType

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Class was not designed to be used in custom code and will be removed.")]
public class LazyObject<ObjectType> : CMSLazy<ObjectType>
where ObjectType : new()

Type Parameters

ObjectType

The LazyObjectObjectType type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowCloneForNewThread
If true, the item is copied for the new thread
(Inherited from CMSLazyTValue.)
Public propertyDefaultValue
Default value
(Inherited from CMSLazyTValue.)
Protected propertyInitializer
Value initialization function
(Inherited from CMSLazyTValue.)
Public propertyIsValueCreated
Returns true if the value was already created
(Inherited from CMSLazyTValue.)
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 CMSLazyTValue.)
Public propertyValue
Gets or sets the object value
(Inherited from CMSLazyTValue.)
Top
Methods
See Also