Class AssetMigrationContext
Context used by IAssetUpgrader.
public class AssetMigrationContext
- Inheritance
-
AssetMigrationContext
Constructors
AssetMigrationContext(Package?, IReference?, string, ILogger)
Initializes a new instance of AssetMigrationContext.
public AssetMigrationContext(Package? package, IReference? assetReference, string assetFullPath, ILogger log)
Parameters
package
PackageassetReference
IReferenceassetFullPath
stringlog
ILogger
Properties
AssetFullPath
public string AssetFullPath { get; }
Property Value
AssetReference
public IReference? AssetReference { get; }
Property Value
Log
The logger for this context.
public ILogger Log { get; }
Property Value
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; }