Interface IDataStream
Represents a DataStream object. This is a stream of IEntity objects, which has a source and a name. A stream can be read from, and it can be attached to upstream data-sources for further processing.
Inherited Members
System.Collections.Generic.IEnumerable<ToSic.Eav.Data.IEntity>.GetEnumerator()
Namespace: ToSic.Eav.DataSource
Assembly: ToSic.Eav.DataSources.dll
Syntax
[PublicApi_Stable_ForUseInYourCode]
public interface IDataStream : ICanSelfCache, ICanPurgeListCache, IEnumerable<IEntity>, IEnumerable, IDataSourceLinkable
Properties
| Improve this Doc View SourceList
The list of items in this stream. IMPORTANT: This is actually an Immutable List - so you can read it but not change it.
Declaration
IEnumerable<IEntity> List { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEntity> | An System.Collections.Generic.IEnumerable<T> of IEntity items. |
Name
Name of this Stream
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name - which would be used in the Source to get the same stream again. |
Source
Underlying IDataSource providing the IEntity of this stream
Declaration
IDataSource Source { get; }
Property Value
Type | Description |
---|---|
IDataSource | The underlying IDataSource |