using System.Collections.Generic; namespace StreamPlayer.Desktop.Models; public enum SectionType { Events, Channels } public sealed record ChannelSection(string Title, SectionType Type, IReadOnlyList Channels) { public bool IsEvents => Type == SectionType.Events; }