abema_onair_schedule.Output.ReportChannel.trimEpisodeNumber(string)

Here are the examples of the csharp api class abema_onair_schedule.Output.ReportChannel.trimEpisodeNumber(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: abema-tvguide
Source File: ReportChannel.cs
View license
Tuple<List<string>, List<String>> getTitles(List<ScheduleDataset.Slot> slots) {
            List<String> allTitles = new List<string>();
            List<String> hasFirstFlagTitles = new List<string>();
            var numbers = new System.Text.RegularExpressions.Regex(@"#\d+?#?\d+");
            var number = new System.Text.RegularExpressions.Regex(@"[#?]\d+");
            foreach (var i in slots) {
                String title = trimEpisodeNumber(i.title);
                if (allTitles.Contains(title) == false) {
                    allTitles.Add(title);
                }
                if (i.MarkFirst && hasFirstFlagTitles.Contains(title) == false) {
                    hasFirstFlagTitles.Add(title);
                }
            }
            return new Tuple<List<string>, List<string>>(allTitles, hasFirstFlagTitles);
        }

2. Example

Project: abema-tvguide
Source File: ReportChannel.cs
View license
public void saveChannelLog(String path, params String[] chids) {
            {
                Boole/n ..... /n //View Source file for more details /n }