Пример #1
0
 public CatalogCategoryViewModel(VideoCatalogCategory c, List <User> knownUsers, List <Group> knownGroups)
 {
     this._videoCategory = c;
     this._knownUsers    = knownUsers;
     this._knownGroups   = knownGroups;
     EventAggregator.Current.Subscribe((object)this);
     this.Initialize();
 }
Пример #2
0
 public CatalogItemsHorizontalViewModel(VideoCatalogCategory c, List <User> knownUsers, List <Group> knownGroups)
 {
     this._videoCategory  = c;
     this._knownUsers     = knownUsers;
     this._knownGroups    = knownGroups;
     this._next           = this._videoCategory.next;
     this._catalogItemsVM = new GenericCollectionViewModel <GetCatalogSectionResponse, CatalogItemViewModel>((ICollectionDataProvider <GetCatalogSectionResponse, CatalogItemViewModel>) this);
     this.Initialize();
 }