Vixen
02b45cc4
csharp
public record class ImportJob

One import, described in terms nothing has to be in this process to understand.

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

Remarks

YAML rather than a bound settings object, and that is the point of the type. A bound object cannot cross a process boundary without a serializer for every importer's settings type; the text it was bound from crosses trivially and is what the cache key already hashes. It also means the binding failure — and its message — happens in the same place whichever executor runs the job.

Fields and properties (6)

  • public AssetId Guid

    Which asset.

  • public string Importer

    Which importer, by name.

  • public VirtualPath Source

    Where its source file is, as a virtual path.

  • public string Settings

    Its settings, as YAML with the per-target overrides already resolved.

  • public string Target

    Which build target.

  • public bool EnforceDeclaredReads

    Whether an undeclared read fails the import.

Methods (1)

  • public ImportJob(AssetId Guid, string Importer, VirtualPath Source, string Settings, string Target, bool EnforceDeclaredReads)

    One import, described in terms nothing has to be in this process to understand.

Used by (5)

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