Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var input = "[Testing.User]| Info:([Testing.Info]|Name:([System.String]|Matt)|Age:([System.Int32]|21))|Description:([System.String]|This is some description)";
            var t     = StringTree.Parse(input);

            System.Diagnostics.Debugger.Break();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var input = "[Testing.User]|Info:([Testing.Info]|Name:([System.String]|Matt)|Age:([System.Int32]|21))|Description:([System.String]|This is some description)";
            var t     = StringTree.Parse(input);

            Console.WriteLine(t.ToString());
            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            var input = "[Testing.User]| Info:([Testing.Info]|Name:([System.String]|Matt)|Age:([System.Int32]|21))|Description:([System.String]|This is some description)";
            var t     = StringTree.Parse(input);

            // Just to look at the generated tree in the debugger
            // since I did not implement an output method
            System.Diagnostics.Debugger.Break();
        }