Interface IMetadataProcessingContext
Defines a metadata processing script context.
Namespace: StylelabsStylelabs.MStylelabs.M.ScriptingStylelabs.M.Scripting.TypesStylelabs.M.Scripting.Types.V1_0Stylelabs.M.Scripting.Types.V1_0.ProcessingMetadata
Assembly: Stylelabs.M.Scripting.Types.dll
Syntax
RequestResponse
public interface IMetadataProcessingContext
Properties
Asset
Gets the M.Asset MainFile on the File entity.
Declaration
RequestResponse
IEntity Asset { get; }
Property Value
Type | Description |
---|---|
IEntity |
File
Gets M.File entity that is being processed.
Declaration
RequestResponse
IEntity File { get; }
Property Value
Type | Description |
---|---|
IEntity |
MetadataProperties
Gets the available metadata. Contents are rather abstract and depend on the processed file.
Declaration
RequestResponse
IReadOnlyDictionary<string, JToken> MetadataProperties { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<, >stringJToken |