csharp
public record class ExecutedImportWhat 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 SucceededWhether it came out with no errors.
public IReadOnlyList<ImportedArtifact> ArtifactsThe chunks it produced.
public IReadOnlyList<SubAssetEntry> SubAssetsWhat the asset now declares it contains.
public IReadOnlyList<ImportDiagnostic> DiagnosticsEverything the importer said.
public IReadOnlyList<string> FileDependenciesEvery file it declared, including its own source.
public IReadOnlyList<AssetId> AssetDependenciesEvery 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