From 6a0b8dc22fc86a5de37278231f3f8418afc9b836 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 28 Apr 2020 11:08:01 -0400 Subject: Fix stateful decoder i think --- Sample/Program.cs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Sample/Program.cs (limited to 'Sample/Program.cs') diff --git a/Sample/Program.cs b/Sample/Program.cs deleted file mode 100644 index c3a0885..0000000 --- a/Sample/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using IrcTokens; - -namespace TokensSample -{ - public class Program - { - public static void Main(string[] args) - { - // tokenization - var line = new Line("@id=123 :ben!~ben@hostname PRIVMSG #channel :hello there!"); - Console.WriteLine(line); - Console.WriteLine(line.Format()); - - // formatting - var line2 = new Line {Command = "USER", Params = new List {"user", "0", "*", "real name"}}; - Console.WriteLine(line2); - Console.WriteLine(line2.Format()); - - // stateful example - var client = new Client(); - client.Start(); - } - } -} -- cgit 1.4.1