Click or drag to resize
CollectionPropertyWrapperObjectType Class
Wrapper that transforms the collection to values of its object properties
Inheritance Hierarchy
SystemObject
  CMS.DataEngineCollectionPropertyWrapper
    CMS.DataEngineCollectionPropertyWrapperObjectType
      CMS.PortalEngineCSSWrapper

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public class CollectionPropertyWrapper<ObjectType> : CollectionPropertyWrapper, 
	IEnumerable<ObjectProperty>, IEnumerable, IIndexable<ObjectProperty>, 
	INameIndexable<ObjectProperty>, INameIndexable, IIndexable
where ObjectType : BaseInfo, IHierarchicalDataContainer

Type Parameters

ObjectType

The CollectionPropertyWrapperObjectType type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCollection
Collection to wrap
Public propertyCount
Returns the number of items.
Public propertyItemInt32
Gets or sets the object on specific index.
Public propertyItemString
Returns the property of an object registered by the specific name.
Public propertyPropertyName
Property name to extract
Top
Methods
  NameDescription
Public methodGetEnumerator
Gets the enumerator for the collection.
Protected methodGetProperty
Gets the property value for the given object
Top
Extension Methods
  NameDescription
Public Extension MethodBatchObjectProperty
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodToHashSetObjectProperty
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
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