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
Implements
Inherited Members
Namespace: EPiServer.Data.Dynamic.Internal
Assembly: EPiServer.Data.dll
Version: 11.20.7Syntax
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 |