Interface IDataTarget
Represents a data source that can be the recipient of Data. This basically means it has an In IDataStream
Namespace: ToSic.Eav.DataSources
Assembly: ToSic.Eav.DataSources.dll
Syntax
[PublicApi_Stable_ForUseInYourCode]
public interface IDataTarget
Properties
| Improve this Doc View SourceGuid
Internal ID usually from persisted configurations IF the configuration was build from an pre-stored query.
Declaration
Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The guid of this data source which identifies the configuration IEntity of the data source. |
In
List of all In connections
Declaration
IDictionary<string, IDataStream> In { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, IDataStream> |
Methods
| Improve this Doc View SourceAttach(String, IDataSource)
Add a single named stream to the In
Declaration
void Attach(string streamName, IDataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.String | streamName | In-name of the stream |
IDataSource | dataSource | The data source - will use it's default out |
Attach(String, IDataStream)
Add a single named stream to the In
Declaration
void Attach(string streamName, IDataStream dataStream)
Parameters
Type | Name | Description |
---|---|---|
System.String | streamName | In-name of the stream |
IDataStream | dataStream | The data stream to attach |
Attach(IDataSource)
Attach a DataSource to In - replaces all existing in-streams.
Declaration
void Attach(IDataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
IDataSource | dataSource | DataSource to attach |