public CreatePageViewModelBase() { _catalog = new CatalogBase <T>(); _newObject = new T(); _createCommand = null; // new CreateCommandBase<User>(_catalog, _newObject); _catalog.CatalogChanged += CatalogHasChanged; }
public CreateCommandBase(CatalogBase <T> catalog, T newObject) { _catalog = catalog; _newObject = newObject; }