Click or drag to resize
RegisteredPropertiesTParent Class
Container for the property registration
Inheritance Hierarchy
SystemObject
  CMS.BaseRegisteredPropertiesTParent

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public class RegisteredProperties<TParent>

Type Parameters

TParent

The RegisteredPropertiesTParent type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddTProperty(String, FuncTParent, Object, ActionTParent, Object)
Registers the given property to the object
Public methodAddPropertyType(String, Object, FuncTParent, Object, Object, ActionTParent, Object, Object)
Registers the given parameterized property to the object.
Protected methodAddProperty
Adds the property name to the collection of registered properties (Ensures locking for thread safety)
Public methodCollectColumns
Collects the marked properties from the given object
Public methodCollectProperties
Collects the marked properties from the given object
Public methodContains
Returns true if given property is already registered.
Public methodEvaluate
Evaluates the particular property
Public methodGetPropertyType
Gets the type of the given property
Public methodGetRegisteredProperties
Gets list of registered properties.
Public methodHasSetter
Returns true if given property has a setter
Public methodHide
Hides the given property from the property list
Protected methodRemoveProperty
Removes the property name to the collection of registered properties (Ensures locking for thread safety)
Public methodSet
Evaluates the particular property
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldmPropertiesRegistered
If true, the properties of this type were already registered
Protected fieldmPropertyFunctions
Collection of the properties registered by the lambda function.
Protected fieldmRegisteredProperties
List of registered properties
Protected fieldmRegistrationCallback
Registration callback method
Top
See Also