Synced
UiDocumentImporter.ImportAsync
Section titled “UiDocumentImporter.ImportAsync”
- Imports source content into a validated runtime asset and artifact set.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI.Assets
Declaration
Section titled “Declaration”protected override System.Threading.Tasks.ValueTask Inno.UI.Assets.UiDocumentImporter.ImportAsync(Inno.Assets.Pipeline.AssetImportContext context, Inno.Assets.Pipeline.AssetImportWriter<Inno.UI.UiDocumentAsset> output, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter context: The context that supplies state and services for this operation.
Parameter output: The import output writer that receives runtime data and dependency declarations.
Parameter cancellationToken: The token that cancels the operation before it commits.
Returns
Section titled “Returns”An asynchronous operation that completes after all requested work has finished.