Table of Contents

Class Metadata

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

Get Metadata (metadata Entities) of the Entities coming into this DataSource

[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*" }, ConfigurationType = "d7858b36-1ef1-4c3d-b15c-c567b0d7bdd4", HelpLink = "https://go.2sxc.org/DsMetadata")]
[InternalApi_DoNotUse_MayChangeWithoutNotice("WIP")]
public class Metadata : DataSourceProcessInBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable, IServiceWithSetup<IDataSourceOptions>
Inheritance
object
DataSourceProcessInBase
Metadata
Implements
IServiceWithSetup<IDataSourceOptions>
Inherited Members

Remarks

Constructors

Metadata(Dependencies)

Get Metadata (metadata Entities) of the Entities coming into this DataSource

public Metadata(CustomDataSourceAdvanced.Dependencies services)

Parameters

services CustomDataSourceAdvanced.Dependencies

Remarks

Properties

ContentTypeName

Optional Type Name restriction to only get Metadata of this Content Type.

[Configuration]
public string? ContentTypeName { get; }

Property Value

string

Methods

GetDefault(IImmutableList<IEntity>)

Method to override, returning the metadata entities for the inheriting class.

protected override IEnumerable<IEntity> GetDefault(IImmutableList<IEntity> defaultIn)

Parameters

defaultIn IImmutableList<IEntity>

Returns

IEnumerable<IEntity>