Vixen
02b45cc4
csharp
public static class ImportRunner

Runs the import pipeline over a project and says what happened.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The import itself is ContentPipeline's, in Vixen.Editor.Assets. What is left here is the console and the worker pool — the first because a tool and an editor want different output, and the second because process isolation is a command-line option and not something an editor's background task should be starting behind somebody's back.

Methods (2)

  • public static Task<ImportSummary> RunAsync(Project project, string target, DiagnosticWriter output, bool verbose, bool isolated = false, CancellationToken cancellationToken = default(CancellationToken))

    Imports everything in a project that needs it.

  • public static void Report(ImportSummary summary, DiagnosticWriter output)

    Prints the one line a person reads when nothing went wrong.

Used by (1)

  • VixenCommandVixen.Cli