Table of Contents

Interface IDataStream

Namespace
ToSic.Eav.DataSource
Assembly
ToSic.Eav.DataSources.dll

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.

[PublicApi]
public interface IDataStream : IEnumerable<IEntity>, IEnumerable, IDataSourceLinkable
Inherited Members

Properties

List

The list of items in this stream. IMPORTANT: This is actually an Immutable List - so you can read it but not change it.

IEnumerable<IEntity> List { get; }

Property Value

IEnumerable<IEntity>

An IEnumerable<T> of IEntity items.

Name

Name of this Stream

string Name { get; }

Property Value

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

IDataSource Source { get; }

Property Value

IDataSource

The underlying IDataSource