Table of Contents
These v19 docs are archived 🔒. Go to the latest docs home or try if this exact page is available in the latest docs.

Class Zones

Namespace
ToSic.Eav.DataSources.Sys
Assembly
ToSic.Eav.Apps.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.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
[VisualQuery(NiceName = "Zones", UiHint = "Zones of an installation", Icon = "border_outer", Type = DataSourceType.System, NameId = "ToSic.Eav.DataSources.System.Zones, ToSic.Eav.Apps", Audience = Audience.Advanced, DynamicOut = false, NameIds = new string[] { "ToSic.Eav.DataSources.System.Zones, ToSic.Eav.Apps", "ToSic.Eav.DataSources.Zones, ToSic.Eav.Apps" }, HelpLink = "https://github.com/2sic/2sxc/wiki/DotNet-DataSource-Zones")]
public sealed class Zones : DataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable
Inheritance
object
ServiceBase
Zones
Implements
Inherited Members

Remarks

Had a major, breaking update in v15. Consult the guide to upgrade your custom data sources.