Class Metadata
Get Metadata (metadata Entities) of the Entities coming into this DataSource
Inheritance
System.Object
ToSic.Lib.Services.ServiceBase
ToSic.Lib.Services.ServiceBase<ToSic.Eav.DataSource.DataSourceBase.MyServices>
ToSic.Eav.DataSources.MetadataDataSourceBase
Metadata
Implements
Inherited Members
Namespace: ToSic.Eav.DataSources
Assembly: ToSic.Eav.DataSources.dll
Syntax
[VisualQuery(NiceName = "Metadata", UiHint = "Get the item's metadata", Icon = "local_offer", Type = DataSourceType.Lookup, NameId = "3ab4b010-2daa-4a7f-b882-635d2d9fa0a0", In = new string[]{"Default*"}, DynamicOut = false, ConfigurationType = "d7858b36-1ef1-4c3d-b15c-c567b0d7bdd4", HelpLink = "https://r.2sxc.org/DsMetadata")]
[InternalApi_DoNotUse_MayChangeWithoutNotice("WIP")]
public class Metadata : MetadataDataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IAppIdentitySync, IDataSourceLinkable
Remarks
- Added in v12.10
- Changed in v15.05 to use the immutable convention
Constructors
| Improve this Doc View SourceMetadata(DataSourceBase.MyServices)
Declaration
public Metadata(DataSourceBase.MyServices services)
Parameters
Type | Name | Description |
---|---|---|
ToSic.Eav.DataSource.DataSourceBase.MyServices | services |
Properties
| Improve this Doc View SourceContentTypeName
Optional Type Name restriction to only get Metadata of this Content Type.
Declaration
[Configuration]
public override string ContentTypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToSic.Eav.DataSources.MetadataDataSourceBase.ContentTypeName
Methods
| Improve this Doc View SourceSpecificGet(IImmutableList<IEntity>, String)
Declaration
protected override IEnumerable<IEntity> SpecificGet(IImmutableList<IEntity> originals, string typeName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.IImmutableList<IEntity> | originals | |
System.String | typeName |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEntity> |
Overrides
ToSic.Eav.DataSources.MetadataDataSourceBase.SpecificGet(System.Collections.Immutable.IImmutableList<ToSic.Eav.Data.IEntity>, System.String)