about summary refs log tree commit diff
path: root/Sample/Program.cs
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-04-28 11:08:01 -0400
committerBen Harris <ben@tilde.team>2020-04-28 11:08:01 -0400
commit6a0b8dc22fc86a5de37278231f3f8418afc9b836 (patch)
tree2cac03089c4d15bfe5a66b30e2b2ee5be5255f49 /Sample/Program.cs
parent70e2eb8e7debc342d46a9ca08d70725cb624e19d (diff)
Fix stateful decoder i think
Diffstat (limited to 'Sample/Program.cs')
-rw-r--r--Sample/Program.cs26
1 files changed, 0 insertions, 26 deletions
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<string> {"user", "0", "*", "real name"}};
-            Console.WriteLine(line2);
-            Console.WriteLine(line2.Format());
-
-            // stateful example
-            var client = new Client();
-            client.Start();
-        }
-    }
-}