public MainViewModel(Document document, Selection selection) { _document = document; _selection = selection; }
public ViewModelLocator() { _document = LoadDocument(); _selection = new Selection(); }