private void OnSaveAs() { SaveAsDocumentRequestedArg arg = new SaveAsDocumentRequestedArg(EditorTabContentViewModel); Util.EventAggregator <SaveAsDocumentRequestedArg> .Instance.Publish(this, arg); }
private void OnSaveAsDocumentRequested(object sender, SaveAsDocumentRequestedArg arg) { arg.SourceTabContentViewModel.SaveFile(saveAs: true); NotifyCurrentFilePathChanged(); }