Synced
AssetDraftDocuments<TAsset>.Replace
Section titled “AssetDraftDocuments<TAsset>.Replace”
- Updates the open draft through shared History without saving or publishing a runtime asset.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets
Declaration
Section titled “Declaration”public void Inno.Editor.Assets.AssetDraftDocuments<TAsset>.Replace(System.Guid assetId, TAsset candidate, string? mergeKey = null)Parameters
Section titled “Parameters”Parameter assetId: Open asset identity.
Parameter candidate: Detached edited asset.
Parameter mergeKey: The current gesture key, or null for an independent discrete edit.