方法语法可以通过多种方式与查询语法组合。
Method syntax can be combined with query syntax in various ways.
是可以通过使用实例方法语法调用的静态方法。
Extension methods are static methods that can be invoked using instance method syntax.
此示例演示如何对查询子句的结果使用方法语法。
This example shows how to use method syntax on the results of a query clause.
查询表达式通常比用方法语法编写的等效表达式更易读。
Query expressions are often more readable than equivalent expressions written in method syntax.
扩展方法是可以通过使用实例方法语法调用的静态方法。
Extension methods are static methods that can be invoked using instance method syntax.
当使用实例方法语法调用此方法时,请省略第一个参数。
When you use instance method syntax to call this method, omit the first parameter.
比较方法语法和查询语法这两种LINQ查询表示方法。
Compares method syntax and query syntax as two ways to express a LINQ query.
另外,一旦被导入,扩展方法可以使用实例方法语法调用之。
In addition, once imported, extension methods can be invoked using instance method syntax.
任何可以使用查询语法表示的查询也可以使用方法语法表示。
Any query that can be expressed by using query syntax can also be expressed by using method syntax.
扩展方法具备所有常规静态方法的所有能力。另外,一旦被导入,扩展方法可以使用实例方法语法调用之。
Extension methods have all the capabilities of regular static methods. In addition, once imported, extension methods can be invoked using instance method syntax.
为了满足模型检验的需要,本文在研究LSC语法语义的基础上提出了一种生成与LSC等价的状态迁移模型的方法。
Model checking utilizes the state model of systems, thus, we present a method that generates the stale models from LSC models based on the LSC semantics.
为了满足模型检验的需要,本文在研究LSC语法语义的基础上提出了一种生成与LSC等价的状态迁移模型的方法。
Model checking utilizes the state model of systems, thus, we present a method that generates the stale models from LSC models based on the LSC semantics.
应用推荐