| EnumerableDataContainerT Class |
Namespace: CMS.Base
public class EnumerableDataContainer<T> : IDataContainer, ISimpleDataContainer, IEnumerable<T>, IEnumerable
The EnumerableDataContainerT type exposes the following members.
| Name | Description | |
|---|---|---|
| EnumerableDataContainerT |
Creates new instance from the given list
|
| Name | Description | |
|---|---|---|
| mItems |
Items
| |
| mItemsByString |
Items collection by name
|
| Name | Description | |
|---|---|---|
| ColumnNames |
Returns list of enumeration items.
| |
| Item |
Returns the value of given enumeration item.
| |
| ItemsByString |
Items collection by name
|
| Name | Description | |
|---|---|---|
| ContainsColumn |
Returns true if given name is within the enumeration items.
| |
| GetEnumerator |
Gets the enumerator of internal items
| |
| GetValue |
Returns the value of given enumeration item.
| |
| SetValue |
Not implemented, throws an exception.
| |
| TryGetValue |
Returns the value of given enumeration item.
|
| Name | Description | |
|---|---|---|
| BatchT |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
| CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
| ToHashSetT |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) | |
| ToJSON(String, Boolean) | Overloaded.
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToJSON(String, Boolean) | Overloaded.
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
| ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |