private AdminTagCollection createTagCollection() { var req = new TagAdminRequestHandler(); var fac = new TagAdminVMFactory(); var coll = new BaseAdminModelCollection <TagModel>(req, fac); return(new AdminTagCollection(coll)); }
public AdminTagCollection(BaseAdminModelCollection <TagModel> collection) { Collection = collection; Name = new StringInputField("Name", 1, 64); Type = new StringInputField("Type", 1, 64); UpdateType = new StringInputField("Type", 1, 64); initCommands(); }
private AdminUserCollection createUserCollection() { var req = new UserAdminRequestHandler(); var fac = new UserAdminVMFactory(); var coll = new BaseAdminModelCollection <UserModel>(req, fac); return(new AdminUserCollection(coll)); }
public AdminSongCollection(BaseAdminModelCollection <SongModel> collection) { Collection = collection; Artist = new StringInputField("Artist", 1, 64); Album = new StringInputField("Album", 1, 64); AddTag = new StringInputField("AddTag", 1, 64); initCommands(); }
public AdminRatingCollection(BaseAdminModelCollection <RatingModel> collection) { Collection = collection; DeleteCommand = new RelayCommand(handleDelete); }
public AdminUserCollection(BaseAdminModelCollection <UserModel> collection) { Collection = collection; AddCommand = new RelayCommand(handleAdded); ClearCommand = new RelayCommand(clear); }
public BaseCollectionUpdater(BaseAdminModelCollection <T> coll) { collection = coll; }