Example #1
0
 public IDocument Open(string path)
 {
     var editor = new EditorViewModel();
     editor.Open(path);
     return editor;
 }
Example #2
0
 public IDocument CreateNew(string name)
 {
     var editor = new EditorViewModel();
     editor.New(name);
     return editor;
 }