private void RemoveChannel(Channel remove, ObservableCollection<Channel> list) { RemoveChannel(new List<Channel>() { remove }, list); }
private string GetChannelURL(Channel channel, string sourceStr) { var indx = sourceStr.IndexOf(channel.Name); if (indx == -1) return null; while (sourceStr[indx] != '\n') { indx++; } var lastIndx = indx + 1; while (sourceStr[lastIndx] != '\n') { lastIndx++; } return sourceStr.Substring(indx + 1, lastIndx - indx - 2); }