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
-
objectServiceBaseContentTypes
- Implements
- Inherited Members
Remarks
- New in v11.20
- Changed in v15.05 to use the immutable convention
Properties
OfAppId
The app id
[Configuration(Field = "AppId")]
public int OfAppId { get; }
Property Value
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
Remarks
- Renamed to
Scope
in v15, previously was calledOfScope