Vixen
02b45cc4
csharp
public record class ExecutedImport

What running one import produced, including what it declared it read.

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

Remarks

The dependencies are part of the result rather than read back off a context, because a context is a live object with a file provider in it and the whole reason this type exists is that the import may have happened somewhere else.

Fields and properties (6)

  • public bool Succeeded

    Whether it came out with no errors.

  • public IReadOnlyList<ImportedArtifact> Artifacts

    The chunks it produced.

  • public IReadOnlyList<SubAssetEntry> SubAssets

    What the asset now declares it contains.

  • public IReadOnlyList<ImportDiagnostic> Diagnostics

    Everything the importer said.

  • public IReadOnlyList<string> FileDependencies

    Every file it declared, including its own source.

  • public IReadOnlyList<AssetId> AssetDependencies

    Every other asset it declared.

Methods (2)

  • public ExecutedImport(bool Succeeded, IReadOnlyList<ImportedArtifact> Artifacts, IReadOnlyList<SubAssetEntry> SubAssets, IReadOnlyList<ImportDiagnostic> Diagnostics, IReadOnlyList<string> FileDependencies, IReadOnlyList<AssetId> AssetDependencies)

    What running one import produced, including what it declared it read.

  • public static ExecutedImport Failed(string message)

    An import that produced nothing and failed.

Used by (6)

  • CompilerPoolVixen.AssetCompiler
  • CompilerPoolTestsVixen.AssetCompiler.Tests
  • IImportExecutorVixen.Editor.Assets
  • ImportPipelineVixen.Editor.Assets
  • InProcessImportExecutorVixen.Editor.Assets
  • WorkerHostVixen.AssetCompiler