Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            try
            {
                {
                    Console.WriteLine("*************Action + Func");
                    ActionFunc actionFunc = new ActionFunc();
                    actionFunc.Show();
                }

                {
                    Console.WriteLine("********************Expression****************");
                    // 存在于System.Linq.Expression命名空间
                    ExpressionTest.Show();
                }
                {
                    ExpressionVisitorTest.Show();
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                //throw;
            }

            Console.Read();
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     try
     {
         //能听到老师讲话(声音很清晰),能看到老师屏幕的 刷个1
         Console.WriteLine("欢迎来到.net高级班vip课程,今晚学习表达式树Expression,我是Richard老师!");
         {
             Console.WriteLine("****************认识表达式目录树*************");
             //ExpressionTest.Show();
         }
         {
             //Console.WriteLine("********************MapperTest********************");
             //ExpressionTest.MapperTest();
         }
         {
             //Console.WriteLine("********************解析表达式目录树********************");
             ExpressionVisitorTest.Show();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
     Console.Read();
 }
Ejemplo n.º 3
0
 static void Main(string[] args)
 {
     try
     {
         Console.WriteLine("Expression");
         //{
         //    Console.WriteLine("****************Func/Action*************");
         //    //ActionFunc actionFunc = new ActionFunc();
         //    //actionFunc.Show();
         //}
         //{
         //    Console.WriteLine("****************认识表达式目录树*************");
         //    ExpressionTest.Show();
         //}
         //{
         //    Console.WriteLine("********************MapperTest********************");
         //    ExpressionTest.MapperTest();
         //}
         {
             Console.WriteLine("********************解析表达式目录树********************");
             ExpressionVisitorTest.Show();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
     Console.Read();
 }
Ejemplo n.º 4
0
 static void Main(string[] args)
 {
     try
     {
         //ExpressionTest.Show();
         ExpressionVisitorTest.Show();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
     Console.ReadKey();
 }
Ejemplo n.º 5
0
 static void Main(string[] args)
 {
     try
     {
         Console.WriteLine("欢迎来到.net高级班vip课程,今晚学习表达式目录树Expression");
         //{
         //    Console.WriteLine("****************认识表达式目录树*************");
         //    ExpressionTest.Show();
         //}
         //{
         //    Console.WriteLine("********************MapperTest********************");
         //    ExpressionTest.MapperTest();
         //}
         {
             Console.WriteLine("********************解析表达式目录树********************");
             ExpressionVisitorTest.Show();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
     Console.Read();
 }