public void TakeAllFrom(MetaSet set) { Objects.AddRange(set.Objects); Actions.AddRange(set.Actions); Tutorials.AddRange(set.Tutorials); Mechanisms.AddRange(set.Mechanisms); Tags.AddRange(set.Tags); Commands.AddRange(set.Commands); Languages.AddRange(set.Languages); Events.AddRange(set.Events); }
protected override async Task UpdateModels() { if (Tutorials == null) { Tutorials = new MvxObservableCollection <TutorialDTO>(await _tutorialsProvider.GetTutorials(_sectionId)); } else { Tutorials.Clear(); Tutorials.AddRange(await _tutorialsProvider.GetTutorials(_sectionId)); } }