IRC parsing, tokenization, and state handling in C#
at tunit 30 lines 690 B view raw
1// ReSharper disable CollectionNeverUpdated.Global 2// ReSharper disable ClassNeverInstantiated.Global 3using YamlDotNet.Serialization; 4 5namespace IRCSharp.Tests.Tokenization.Data; 6 7public class JoinModel 8{ 9 public List<Test> Tests { get; set; } 10 11 public class Test 12 { 13 [YamlMember(Alias = "desc")] public string Description { get; set; } 14 15 public Atoms Atoms { get; set; } 16 17 public List<string> Matches { get; set; } 18 } 19 20 public class Atoms 21 { 22 public Dictionary<string, string> Tags { get; set; } 23 24 public string Source { get; set; } 25 26 public string Verb { get; set; } 27 28 public List<string> Params { get; set; } 29 } 30}