Class PassThrough
A DataSource that forwards all In
Connections. It's more for internal use.
Inheritance
System.Object
ToSic.Lib.Services.ServiceBase
ToSic.Lib.Services.ServiceBase<ToSic.Eav.DataSource.DataSourceBase.MyServices>
PassThrough
Implements
Inherited Members
Namespace: ToSic.Eav.DataSources
Assembly: ToSic.Eav.DataSources.dll
Syntax
[PublicApi_Stable_ForUseInYourCode]
[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, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IAppIdentitySync, IDataSourceLinkable
Remarks
Had a major, breaking update in v15. Consult the guide to upgrade your custom data sources.
Properties
| Improve this Doc View SourceCachePartialKey
provide a static cachekey - as there is nothing dynamic on this source to modify the cache
Declaration
public override string CachePartialKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToSic.Eav.DataSource.DataSourceBase.CachePartialKey
Remarks
if the key is not static (like the default setup) it will always cause errors
Out
The Out is the same as the In.
Declaration
public override IReadOnlyDictionary<string, IDataStream> Out { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, IDataStream> |