예제 #1
0
        private ChannelItemInfo CreateChannelItemFolders(string eventId, string dayId, Match match)
        {
            var folderId = FolderId.CreateGameFolderId(eventId, dayId, match.GameId);

            return(new ChannelItemInfo
            {
                FolderType = ChannelFolderType.Container,
                Id = folderId.ToString(),
                Name = string.Format("{0} vs {1}", match.Team1, match.Team2),
                Type = ChannelItemType.Folder
            });
        }
예제 #2
0
 private ChannelItemInfo CreateChannelItemFolders(string eventId, string dayId, Match match)
 {
     var folderId = FolderId.CreateGameFolderId(eventId, dayId, match.GameId);
     return new ChannelItemInfo
     {
         FolderType = ChannelFolderType.Container,
         Id = folderId.ToString(),
         Name = string.Format("{0} vs {1}", match.Team1, match.Team2),
         Type = ChannelItemType.Folder
     };
 }