/// <summary> /// Helper method for loading of the list from the data source /// </summary> /// <param name="items">The list of items returned by the data source</param> private Task LoadObjectsAsync(IList <CharacterSetDTO> items) { CharacterSetInfo info; foreach (var item in items) { info = new CharacterSetInfo(item); _list.Add(info); } return(Task.CompletedTask); }
/// <summary> /// Support addition of new items to the underlying list for use in cloning /// </summary> /// <param name="setInfo">The character set info to be added to the list</param> private void Add(CharacterSetInfo setInfo) { _list.Add(setInfo); }