Click or drag to resize
AbstractDecoratorInterfaceType Class
Base class for decorators
Inheritance Hierarchy
SystemObject
  CMS.CoreAbstractDecoratorInterfaceType
    CMS.CoreAbstractDecoratorInterfaceType, ExtendedType

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
public abstract class AbstractDecorator<InterfaceType>

Type Parameters

InterfaceType

The AbstractDecoratorInterfaceType type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAsTargetInterfaceType
Casts this decorator to the required interface type
Public methodStatic memberConvertToResultType
Converts the given source type to the result type
Protected methodCreateBaseObject
Creates the base object for this decorator
Protected methodStatic memberGetFirstFoundTargetInterfaceType(InterfaceType)
Gets the first found object of the given type in the chain
Protected methodStatic memberGetFirstFoundTargetInterfaceType(AbstractDecoratorInterfaceType)
Gets the first found object of the given type in the chain
Public methodStatic memberUse(Type)
Applies the decorator to the given interface type
Public methodStatic memberUseDecoratorType
Applies the decorator to the given interface type
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
Properties
  NameDescription
Protected propertyImmediateBase
Base object
Protected propertyIsTopMost
Returns true, if this decorator is the top most in the chain
Public propertyOverrideBy
Parent object
Public propertyOverriden
Returns true if the object is overriden
Protected propertyTopMost
Top most object in the chain of decorators
Top
See Also