コード例 #1
0
        public CreatePageViewModelBase()
        {
            _catalog       = new CatalogBase <T>();
            _newObject     = new T();
            _createCommand = null; // new CreateCommandBase<User>(_catalog, _newObject);

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