Exemplo n.º 1
0
 public SelectionSet(SceneViewModel model, ISelectionSetNamingHelper namingHelper, SelectionSet <T, ListOfT> .IStorageProvider storageProvider)
 {
     this.viewModel = model;
     this.editTransactionFactory = this.viewModel != null ? (ISceneEditTransactionFactory)this.viewModel.Document : (ISceneEditTransactionFactory)null;
     this.namingHelper           = namingHelper;
     this.storageProvider        = storageProvider;
     this.selection = storageProvider.NewList();
     this.indexOfPrimarySelection = -1;
     this.changeStamp             = 0U;
 }