AssetMigrationContext Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Context used by IAssetUpgrader.
System.Object →
AssetMigrationContext
Derived from AssetMigrationContext:
public class AssetMigrationContext
| Name | Description | |
|---|---|---|
| Constructors | ||
| AssetMigrationContext(Package, IReference, String, ILogger) | Initializes a new instance of AssetMigrationContext. |
|
| Properties | ||
| AssetFullPath | ||
| AssetReference | ||
| Log | The logger for this context. |
|
| Package | The current package where the current asset is being migrated. This is null when the asset being migrated is a package. |
|
Constructors
AssetMigrationContext(Package, IReference, String, ILogger)
Initializes a new instance of AssetMigrationContext.
public AssetMigrationContext(Package package, IReference assetReference, string assetFullPath, ILogger log)
Parameters
| Type | Name | Description |
|---|---|---|
| Package | package | |
| IReference | assetReference | |
| System.String | assetFullPath | |
| ILogger | log |
Properties
AssetFullPath
public string AssetFullPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
AssetReference
public IReference AssetReference { get; }
Property Value
| Type | Description |
|---|---|
| IReference |
Log
The logger for this context.
public ILogger Log { get; }
Property Value
| Type | Description |
|---|---|
| ILogger |
Package
The current package where the current asset is being migrated. This is null when the asset being migrated is a package.
public Package Package { get; }
Property Value
| Type | Description |
|---|---|
| Package |