Class Attributes
A DataSource that returns the attributes of a content-type
Inheritance
System.Object
ToSic.Lib.Services.ServiceBase
ToSic.Lib.Services.ServiceBase<ToSic.Eav.DataSource.DataSourceBase.MyServices>
Attributes
Implements
Inherited Members
Namespace: ToSic.Eav.DataSources.Sys
Assembly: ToSic.Eav.DataSources.dll
Syntax
[InternalApi_DoNotUse_MayChangeWithoutNotice]
[VisualQuery(NiceName = "Attributes of Type", UiHint = "Attributes/fields of a Content-Type", Icon = "dns", Type = DataSourceType.System, NameId = "ToSic.Eav.DataSources.System.Attributes, ToSic.Eav.DataSources", Audience = Audience.Advanced, DynamicOut = false, ConfigurationType = "5461d34d-7dc6-4d38-9250-a0729cc8ead3", HelpLink = "https://github.com/2sic/2sxc/wiki/DotNet-DataSource-Attributes")]
public sealed class Attributes : DataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IAppIdentitySync, IDataSourceLinkable
Remarks
- Changed in v15.05 to use the immutable convention
Constructors
| Improve this Doc View SourceAttributes(IAppStates, DataSourceBase.MyServices, IDataFactory)
Constructs a new Attributes DS
Declaration
public Attributes(IAppStates appStates, DataSourceBase.MyServices services, IDataFactory dataFactory)
Parameters
Type | Name | Description |
---|---|---|
ToSic.Eav.Apps.IAppStates | appStates | |
ToSic.Eav.DataSource.DataSourceBase.MyServices | services | |
IDataFactory | dataFactory |
Properties
| Improve this Doc View SourceContentTypeName
The content-type name
Declaration
[Configuration(Fallback = "not-configured-try-in")]
public string ContentTypeName { get; }
Property Value
Type | Description |
---|---|
System.String |