The GenericProperty PropertyType type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | GenericProperty PropertyType |
Empty constructor, creates a property without a name, which expects that its parent property will be set
|
![]() | GenericProperty PropertyType (String) |
Constructor
|
Methods
Name | Description | |
---|---|---|
![]() | AsSingleton |
If set, the value of the object points to a singleton of this object
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetInstance |
Gets the extension object instance
(Inherited from GenericExtension ExtensionType .) |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetValue |
Gets the property value for internal purposes
|
![]() | Initialize |
Initializes the extension
(Inherited from GenericExtension ExtensionType .) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | NewGenericProperty |
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtension ExtensionType .) |
![]() | NewProperty |
Creates a new property of the given type, initialized to the extension value
(Inherited from GenericExtension ExtensionType .) |
![]() | NewValue |
Creates a new value of the given type
(Inherited from GenericExtension ExtensionType .) |
![]() | RegisterAsExtensionTo |
Registers the extension as an extension to the given type
(Inherited from GenericExtension ExtensionType .) |
![]() | RegisterAsPropertyTo |
Registers the extension as a property to the given type
(Inherited from GenericExtension ExtensionType .) |
![]() | RegisterAsStaticPropertyTo |
Registers the extension as a property to the given type
|
![]() | SetInstance |
Sets the extension object instance
(Inherited from GenericExtension ExtensionType .) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | WithLazyInitialization(Func Object, ExtensionType ) |
Sets up the lazy initialization over this property
(Inherited from GenericExtension ExtensionType .) |
![]() | WithLazyInitialization(Func PropertyType ) |
Sets up the lazy initialization over this property
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | (GenericProperty PropertyType to PropertyType) |
Implicit conversion to extension type
|
Extension Methods
Name | Description | |
---|---|---|
![]() | 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.) |
Properties
Name | Description | |
---|---|---|
![]() | Initializer |
Property initializer
|
![]() | Instance |
Property value. Initializes the extension object if not available
(Inherited from GenericExtension ExtensionType .) |
![]() | IsInitialized |
Returns true if the extension is initialized
(Inherited from GenericExtension ExtensionType .) |
![]() | LazyInstance |
Lazy instance of the extension
(Inherited from GenericExtension ExtensionType .) |
![]() | Name |
Property name
(Overrides GenericExtension ExtensionType Name.) |
![]() | ParentExtension |
Parent extension. If set, provides instance object to current extension
(Inherited from GenericExtension ExtensionType .) |
![]() | ParentProperty |
Parent property. If set, provides value to current extension
|
![]() | PropertyInitializer |
Property initializer
(Inherited from GenericExtension ExtensionType .) |
![]() | Type |
Type of the property
|
![]() | Value |
Property value
|
![]() | ValueIsSingleton |
If true, the property ensures an object instance in it's value if null
|
See Also