Page 20 - CSharp/C#
P. 20

Introduction                                                                                       344
          Syntax                                                                                             344


          Parameters                                                                                         344

          Remarks                                                                                            344

        Intro to Expression Trees                                                                           344

          Where we came from                                                                                 344

          How to avoid flow inversion's memory and latency problems                                          344

          Expression trees save the day                                                                      345

          Creating expression trees                                                                          345

        Expression Trees and LINQ                                                                           346

        Notes                                                                                               346


          Examples                                                                                           346

            Creating Expression Trees by Using the API                                                       346

            Compiling Expression Trees                                                                       346
            Parsing Expression Trees                                                                         347

            Create Expression Trees with a lambda expression                                                 347

            Understanding the expressions API                                                                347

            Expression Tree Basic                                                                            348

            Examining the Structure of an Expression using Visitor                                           349

        Chapter 56: Extension Methods                                                                       351

          Syntax                                                                                             351

          Parameters                                                                                         351

          Remarks                                                                                            351

          Examples                                                                                           352

            Extension methods - overview                                                                     352

            Explicitly using an extension method                                                             355

        When to call extension methods as static methods                                                    355

        Using static                                                                                        356


          Null checking                                                                                      356

          Extension methods can only see public (or internal) members of the extended class                  356

          Generic Extension Methods                                                                          357
   15   16   17   18   19   20   21   22   23   24   25