Table of Contents

Class ContentTypes

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

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

[InternalApi_DoNotUse_MayChangeWithoutNotice]
[VisualQuery(NiceName = "Content Types", UiHint = "Types of an App", Icon = "dns", Type = DataSourceType.System, NameId = "ToSic.Eav.DataSources.System.ContentTypes, ToSic.Eav.Apps", Audience = Audience.Advanced, DynamicOut = false, ConfigurationType = "37b25044-29bb-4c78-85e4-7b89f0abaa2c", NameIds = new string[] { "ToSic.Eav.DataSources.System.ContentTypes, ToSic.Eav.Apps", "ToSic.Eav.DataSources.ContentTypes, ToSic.Eav.Apps" }, HelpLink = "https://github.com/2sic/2sxc/wiki/DotNet-DataSource-ContentTypes")]
public sealed class ContentTypes : CustomDataSource, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable
Inheritance
ContentTypes
Implements
Inherited Members

Remarks

Properties

OfAppId

The app id

[Configuration(Field = "AppId")]
public int OfAppId { get; }

Property Value

int

Scope

The scope to get the content types of - normally it's only the default scope

[Configuration(Fallback = "Default")]
public string Scope { get; }

Property Value

string

Remarks

  • Renamed to Scope in v15, previously was called OfScope