Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AssetMigrationContext Class

    Namespace: Stride.Core.Assets
    Assembly: 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.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation