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: 13.0.131
Syntax
C#
public class EnumerableDataContainer<T> : IDataContainer, 
	ISimpleDataContainer, IEnumerable<T>, IEnumerable

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 methodGetEnumerator
Gets the enumerator of internal 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 MethodBatchT
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON(String, Boolean)Overloaded.
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToJSON(String, Boolean)Overloaded.
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also