Click or drag to resize
EnumerableDataContainerT Class
Provides wrapper for any list for usage in the macro engine.
Inheritance Hierarchy
SystemObject
  CMS.BaseEnumerableDataContainerT

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
public class EnumerableDataContainer<T> : IDataContainer, 
	ISimpleDataContainer

Type Parameters

T

The EnumerableDataContainerT type exposes the following members.

Constructors
Fields
  NameDescription
Protected fieldmItems
Items
Protected fieldmItemsByString
Items collection by name
Top
Properties
  NameDescription
Public propertyColumnNames
Returns list of enumeration items.
Public propertyItem
Returns the value of given enumeration item.
Protected propertyItemsByString
Items collection by name
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if given name is within the enumeration items.
Public methodGetValue
Returns the value of given enumeration item.
Public methodSetValue
Not implemented, throws an exception.
Public methodTryGetValue
Returns the value of given enumeration item.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also