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

Type Parameters

T

The EnumerableDataContainerT type exposes the following members.

Constructors
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 MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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 MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
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 MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
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
See Also