public void MapModel(PostItemModel post, int index) { this.MapModel(post); this.ParseReferences(); this.Index = index; }
private void AddModel(PostItemModel model, int index) { var vm = new PostItemViewModel(this); vm.MapModel(model, index); this.ArrangeReferences(vm); this.Posts.Add(vm); this._itemsByPostNumbers[vm.Number] = vm; }