Click or drag to resize
GenericProperty<PropertyType> Class
Represents a generic property
Inheritance Hierarchy
System.Object
  CMS.Base.GenericExtension<PropertyType>
    CMS.Base.GenericProperty<PropertyType>
      CMS.Base.DynamicProperty<PropertyType>

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public class GenericProperty<PropertyType> : GenericExtension<PropertyType>, 
	IGenericProperty, IGenericExtension

Type Parameters

PropertyType

The GenericProperty< PropertyType> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyInitializer
Property initializer
Public propertyInstance
Property value. Initializes the extension object if not available
(Inherited from GenericExtension<ExtensionType>.)
Public propertyIsInitialized
Returns true if the extension is initialized
(Inherited from GenericExtension<ExtensionType>.)
Public propertyLazyInstance
Lazy instance of the extension
(Inherited from GenericExtension<ExtensionType>.)
Public propertyName
Property name
(Overrides GenericExtension<ExtensionType>.Name.)
Public propertyParentExtension
Parent extension. If set, provides instance object to current extension
(Inherited from GenericExtension<ExtensionType>.)
Public propertyParentProperty
Parent property. If set, provides value to current extension
Protected propertyPropertyInitializer
Property initializer
(Inherited from GenericExtension<ExtensionType>.)
Public propertyType
Type of the property
Public propertyValue
Property value
Public propertyValueIsSingleton
If true, the property ensures an object instance in it's value if null
Top
Methods
  NameDescription
Public methodAsSingleton
If set, the value of the object points to a singleton of this object
Public methodGetInstance
Gets the extension object instance
(Inherited from GenericExtension<ExtensionType>.)
Public methodGetValue
Gets the property value for internal purposes
Public methodInitialize
Initializes the extension
(Inherited from GenericExtension<ExtensionType>.)
Public methodNewGenericProperty
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtension<ExtensionType>.)
Public methodNewProperty
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtension<ExtensionType>.)
Public methodNewValue
Creates a new value of the given type
(Inherited from GenericExtension<ExtensionType>.)
Public methodRegisterAsExtensionTo
Registers the extension as an extension to the given type
(Inherited from GenericExtension<ExtensionType>.)
Public methodRegisterAsPropertyTo
Registers the extension as a property to the given type
(Inherited from GenericExtension<ExtensionType>.)
Public methodRegisterAsStaticPropertyTo
Registers the extension as a property to the given type
Public methodSetInstance
Sets the extension object instance
(Inherited from GenericExtension<ExtensionType>.)
Public methodWithLazyInitialization(Func<Object, ExtensionType>)
Sets up the lazy initialization over this property
(Inherited from GenericExtension<ExtensionType>.)
Public methodWithLazyInitialization(Func<PropertyType>)
Sets up the lazy initialization over this property
Top
Operators
See Also