private void OnRename() { RenameDocumentRequestedArg arg = new RenameDocumentRequestedArg(EditorTabContentViewModel); Util.EventAggregator <RenameDocumentRequestedArg> .Instance.Publish(this, arg); }
private void OnRenameDocumentRequested(object sender, RenameDocumentRequestedArg arg) { arg.SourceTabContentViewModel.Rename(arg.SourceTabContentViewModel.CurrentFilePath); NotifyCurrentFilePathChanged(); }