Table of Contents

Class Scopes

Namespace
ToSic.Eav.DataSources.Sys
Assembly
ToSic.Eav.DataSources.dll

DataSource base for lightweight data sources which are quite simple and convention based.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
[VisualQuery(ConfigurationType = "", NameId = "f134e3c1-f09f-4fbc-85be-de43a64c6eed", NameIds = new string[] { "System.Scopes" }, Icon = "workspaces", NiceName = "Data Scopes", Type = DataSourceType.System, UiHint = "Data Scopes group Content-Types by topic", Audience = Audience.Advanced, DataConfidentiality = DataConfidentiality.Confidential)]
public sealed class Scopes : CustomDataSource, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable, IServiceWithSetup<IDataSourceOptions>
Inheritance
object
Scopes
Implements
IServiceWithSetup<IDataSourceOptions>
Inherited Members

Constructors

Scopes(Dependencies, IAppReaderFactory)

A DataSource that list all data scopes.

public Scopes(CustomDataSource.Dependencies services, IAppReaderFactory appReadFac)

Parameters

services CustomDataSource.Dependencies
appReadFac IAppReaderFactory

Methods

GetDefault()

Default method called to return data. If the inheriting class overrides this, it can go without having a full constructor.

protected override IEnumerable<IRawData> GetDefault()

Returns

IEnumerable<IRawData>