private UpdateItemFromTopEditor ( PathData path ) : void | ||
path | PathData | |
Résultat | void |
private void UpdateItemFromTopEditor(PathData path)
{
var editor = FindTopEditor(Parent);
var draftOfTopEditor = path.CurrentPage.FindPartVersion(editor.CurrentItem);
editor.UpdateObject(new Edit.Workflow.CommandContext(editor.Definition, draftOfTopEditor, Interfaces.Editing, Context.User));
}