Class PassThrough
- Namespace
- ToSic.Eav.DataSources
- Assembly
- ToSic.Eav.DataSources.dll
The base class for all DataSources, especially custom DataSources. It must always be inherited. It provides a lot of core functionality to get configurations, ensure caching and more.
Important: in most cases you will inherit the CustomDataSource DataSource for custom data sources.
[PublicApi]
[VisualQuery(NiceName = "Pass-Through", UiHint = "Technical DataSource, doesn't do anything", Icon = "copy_all", Type = DataSourceType.Source, Audience = Audience.Advanced, NameId = "ToSic.Eav.DataSources.PassThrough, ToSic.Eav.DataSources", DynamicOut = true, DynamicIn = true)]
public class PassThrough : DataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable
- Inheritance
-
PassThrough
- Implements
- Inherited Members
Remarks
Had a major, breaking update in v15. Consult the guide to upgrade your custom data sources.
Properties
Out
The Out is the same as the In.
public override IReadOnlyDictionary<string, IDataStream> Out { get; }