---
title: "Interface IMetadataProcessingContext"
slug: "scripting--stylelabs.m.scripting.types.v1_0.processing.metadata.imetadataprocessingcontext"
abstract: ""
---
# 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

```csharp
public interface IMetadataProcessingContext
```

## Properties

### Asset

Gets the M.Asset MainFile on the [File](https://doc.sitecore.com/ch/en/developers/api-reference/scripting--stylelabs.m.scripting.types.v1_0.processing.metadata.imetadataprocessingcontext.html) entity.

#### Declaration

```csharp
IEntity Asset { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IEntity |  |

### File

Gets M.File entity that is being processed.

#### Declaration

```csharp
IEntity File { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IEntity |  |

### MetadataProperties

Gets the available metadata. Contents are rather abstract and depend on the processed file.

#### Declaration

```csharp
IReadOnlyDictionary<string, JToken> MetadataProperties { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IReadOnlyDictionary<, >stringJToken |  |
