private Document LoadDocument() { // TODO: Load your document here. Document document = new Document(); var one = document.NewItem(); one.Name = "One"; var two = document.NewItem(); two.Name = "Two"; var three = document.NewItem(); three.Name = "Three"; return document; }
public MainViewModel(Document document, Selection selection) { _document = document; _selection = selection; }
public ViewModelLocator() { _document = LoadDocument(); _selection = new Selection(); }