コード例 #1
0
 public ObservableCollection <ChannelsInfo> GetChannelsInfo()
 {
     if (_channelsInfos != null)
     {
         var result = _channelService.GetAll();
         if (result.IsSuccess)
         {
             return(new ObservableCollection <ChannelsInfo>(result.Value));
         }
     }
     return(_channelsInfos);
 }