Table of Contents

Class CodeUpgradeRunner

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll

Hook for the Roslyn-based code-upgrade runner. The runner needs Roslyn (workspaces) and so lives in a Roslyn-capable layer that registers itself here at module init; Instance is null when no runner is available (e.g. headless tooling without the editor assembly), in which case source-code migration is silently skipped.

public static class CodeUpgradeRunner
Inheritance
object
CodeUpgradeRunner

Properties

Instance

public static ICodeUpgradeRunner? Instance { get; set; }

Property Value

ICodeUpgradeRunner