public CreatePageViewModelBase()
        {
            _catalog       = new CatalogBase <T>();
            _newObject     = new T();
            _createCommand = null; // new CreateCommandBase<User>(_catalog, _newObject);

            _catalog.CatalogChanged += CatalogHasChanged;
        }
Beispiel #2
0
 public CreateCommandBase(CatalogBase <T> catalog, T newObject)
 {
     _catalog   = catalog;
     _newObject = newObject;
 }