Click or drag to resize
DebugContainer Class
Container for debugging object within macro engine. Reports all variables and properties
Inheritance Hierarchy
System.Object
  CMS.Base.AbstractSimpleDataContainer<DebugContainer>
    CMS.Base.AbstractDataContainer<DebugContainer>
      CMS.Base.AbstractHierarchicalObject<DebugContainer>
        CMS.MacroEngine.DebugContainer

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public class DebugContainer : AbstractHierarchicalObject<DebugContainer>, 
	IMacroObject, IEnumerable

The DebugContainer type exposes the following members.

Constructors
  NameDescription
Public methodDebugContainer
Constructor
Top
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObject<TObject>.)
Public propertyObject
Debugged object
Public propertyOnlyPublicMembers
If true, only public members are exposed
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject<TObject>.)
Top
Methods
  NameDescription
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public methodGetEnumerator
Gets the object enumerator
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodMacroRepresentation
Returns the object which represents current object in the macro engine. Whenever the object implementing IMacroObject interface is used within macro engine this method is called its result is used instead.
Protected methodRegisterColumn(String, Func<TObject, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumn(String, Func<TObject, Object>, Func<TObject, Object, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumns
Register the object columns
(Overrides AbstractSimpleDataContainer<TObject>.RegisterColumns().)
Protected methodRegisterProperties
Register the object columns
(Overrides AbstractHierarchicalObject<TObject>.RegisterProperties().)
Protected methodRegisterProperty(String, Func<TObject, Object>)
Registers the given property to the object
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodRegisterProperty(String, Object, Func<TObject, Object, Object>)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodToMacroString
Returns the default text representation in the macros (this is called when the expression is resolved to its final value and should be converted to string).
Public methodToString
Returns the string representation of the given object
(Overrides Object.ToString().)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodStatic memberWrap
Wraps the object with debug container. Returns null if the object is null
Top
Extension Methods
  NameDescription
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also