private void OnRename()
        {
            RenameDocumentRequestedArg arg = new RenameDocumentRequestedArg(EditorTabContentViewModel);

            Util.EventAggregator <RenameDocumentRequestedArg> .Instance.Publish(this, arg);
        }
예제 #2
0
 private void OnRenameDocumentRequested(object sender, RenameDocumentRequestedArg arg)
 {
     arg.SourceTabContentViewModel.Rename(arg.SourceTabContentViewModel.CurrentFilePath);
     NotifyCurrentFilePathChanged();
 }