SaaS CMS has officially launched! Learn more now.

Class DynamicDataCollection<T>

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Collection class that implements lazy loading of items from the Dynamic Data Store

Inheritance
System.Object
DynamicDataCollection<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Dynamic.Internal
Assembly: EPiServer.Data.dll
Version: 11.20.7
Syntax
public sealed class DynamicDataCollection<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

The System.Type of items in the collection

Constructors

DynamicDataCollection(IList<Identity>, DynamicDataStore, LoadAsObjectType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Construct a new collection

Declaration
public DynamicDataCollection(IList<Identity> identities, DynamicDataStore store, LoadAsObjectType loadObjectsAs)
Parameters
Type Name Description
System.Collections.Generic.IList<Identity> identities

The identities of the items that the collection will contain

DynamicDataStore store

The store the collection items should be read from

LoadAsObjectType loadObjectsAs

How objects should be loaded

Methods

GetEnumerator()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get a enumerator for the collection

Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<T>

An System.Collections.Generic.IEnumerator<T> instance

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get a enumerator for the collection

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator instance

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods