DynamicPropertyPropertyType Class |
Namespace: CMS.Base
public class DynamicProperty<PropertyType> : GenericProperty<PropertyType>
The DynamicPropertyPropertyType type exposes the following members.
Name | Description | |
---|---|---|
DynamicPropertyPropertyType |
Constructor
|
Name | Description | |
---|---|---|
AsSingleton |
If set, the value of the object points to a singleton of this object
(Inherited from GenericPropertyPropertyType.) | |
GetInstance |
Gets the extension object instance
(Inherited from GenericExtensionExtensionType.) | |
GetValue |
Gets the property value for internal purposes
(Inherited from GenericPropertyPropertyType.) | |
Initialize |
Initializes the extension
(Inherited from GenericExtensionExtensionType.) | |
NewGenericProperty |
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtensionExtensionType.) | |
NewProperty |
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtensionExtensionType.) | |
NewValue |
Creates a new value of the given type
(Inherited from GenericExtensionExtensionType.) | |
RegisterAsExtensionTo |
Registers the extension as an extension to the given type
(Inherited from GenericExtensionExtensionType.) | |
RegisterAsPropertyTo |
Registers the extension as a property to the given type
(Inherited from GenericExtensionExtensionType.) | |
RegisterAsStaticPropertyTo |
Registers the extension as a property to the given type
(Inherited from GenericPropertyPropertyType.) | |
SetInstance |
Sets the extension object instance
(Inherited from GenericExtensionExtensionType.) | |
WithLazyInitialization(FuncObject, ExtensionType) |
Sets up the lazy initialization over this property
(Inherited from GenericExtensionExtensionType.) | |
WithLazyInitialization(FuncPropertyType) |
Sets up the lazy initialization over this property
(Inherited from GenericPropertyPropertyType.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
Getter |
Gets or sets the getter for the property
| |
Initializer |
Property initializer
(Inherited from GenericPropertyPropertyType.) | |
Instance |
Property value. Initializes the extension object if not available
(Inherited from GenericExtensionExtensionType.) | |
IsInitialized |
Returns true if the extension is initialized
(Inherited from GenericExtensionExtensionType.) | |
LazyInstance |
Lazy instance of the extension
(Inherited from GenericExtensionExtensionType.) | |
Name |
Property name
(Inherited from GenericPropertyPropertyType.) | |
ParentExtension |
Parent extension. If set, provides instance object to current extension
(Inherited from GenericExtensionExtensionType.) | |
ParentProperty |
Parent property. If set, provides value to current extension
(Inherited from GenericPropertyPropertyType.) | |
PropertyInitializer |
Property initializer
(Inherited from GenericExtensionExtensionType.) | |
Setter |
Gets or sets the setter for the property
| |
Type |
Type of the property
(Inherited from GenericPropertyPropertyType.) | |
Value |
Property value
(Overrides GenericPropertyPropertyTypeValue.) | |
ValueIsSingleton |
If true, the property ensures an object instance in it's value if null
(Inherited from GenericPropertyPropertyType.) |