Anonymous methods enable you to omit the parameter list.
您可使用匿名方法来忽略参数列表。
Anonymous methods are most frequently used to pass a code block as a delegate parameter.
匿名方法通常用于将代码块作为委托参数进行传递。
Creating anonymous methods is essentially a way to pass a code block as a delegate parameter.
要将代码块传递为委托参数,创建匿名方法则是唯一的方法。
For use with anonymous methods, the delegate and the code to be associated with it are declared together.
为了与匿名方法一起使用,委托和与之关联的代码必须一起声明。
This topic explains how Code Analysis handles warnings and metrics that are associated with anonymous methods.
本主题说明程式码分析如何处理与匿名方法相关联的警告和度量资讯。
With anonymous methods mimic the code layout of a regular method, aligned with the anonymous delegate declaration.
匿名方法模仿普通方法的布局,和匿名委托定义放在一行。
The biggest news is that the debugger now has support for C# 2.0 features such as generics, anonymous methods and iterators ....
最大的消息是调试器现在支持C# 2.0的特性,如泛型、匿名方法和迭代器……
By using anonymous methods, you reduce the coding overhead in instantiating delegates because you do not have to create a separate method.
通过使用匿名方法,由于您不必创建单独的方法,因此减少了实例化委托所需的编码系统开销。
The bad news is that any project making heavy use of anonymous methods is likely no longer Code Analysis clean on its upgrade to Visual Studio 2008.
任何大 量使用了匿名方法的项目,在升级到Visual Studio 2008时,有可能无法保持代码分析的清洁性。
Use empty parentheses on parameter-less anonymous methods. Omit the parentheses only if the anonymous method could have been used on any delegate.
没有参数的匿名方法加上空的圆括号。除非这个匿名方法可能被用到任何类型的委托上。
With anonymous methods, mimic the code layout of a regular method, aligned with the delegate declaration. (complies with placing an open curly brace in a new line).
使用匿名方法时,代码风格应该和普通方法一样,与委托声明对齐。(大括号应该放到新的一行里)。
They quote an anonymous researcher who said pithily: "Poor methods get results."
他们引用了一位匿名研究人员的话,说得很精辟:“使用糟糕的方法也能得到结果。”
No more ugly anonymous inner classes: just use closures through those shortcut methods!
不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!
What's useful about this class is that you can use anonymous classes to override only the methods you want; the rest of the methods are implemented by default.
它的作用在于,您可以使用匿名类来替代您所希望替代的方法;剩下的方法会按默认方式实现。
We accept leaked material in person and via postal drops as alternative methods, although we recommend the anonymous electronic drop box as the preferred method of submitting any material.
我们从个人手里接收泄密材料,或者通过邮寄手段,两种任选其一,尽管我们推荐使用匿名电子邮箱,它是最理想的传递任何材料的方式。
These anonymous Loggers are not registered in the global namespace and their methods are not access-checked, allowing even untrusted code to change their logging control Settings.
这些匿名Logger不属于命名空间,他们的各种方法不包含权限检查,不受信的代码可以修改它们的控制信息。
Methods Data were collected through anonymous questionnaire survey and blood samples were made.
方法采用匿名问卷形式进行横断面调查和血标本采集。
Methods Investigation was conducted using an anonymous questionnaire.
方法采用无记名问卷调查方法调查。
Methods an anonymous questionnaire survey was conducted among 1 602 female students in 2 technical secondary schools.
方法对某市2所中专学校1 602名在校女生进行无记名问卷调查。
Methods: Ecumenical demology character and the reasons of laboring selections of 834 pregnant women were investigated with anonymous questionnaire.
方法:采用匿名问卷方式对834例妇女的一般人口学特征及选择分娩方式的理由进行调查。
Methods Questionaire investigation was carried out in hotels. After receiving the anonymous forms filled in by the target people, the data were analyzed.
方法对宾馆服务人员进行问卷调查,由被调查者匿名自填调查问卷,当场收回后对数据进行分析处理。
Methods An anonymous survey was conducted among 502 students from a technical college selected by stratified sampling and cluster sampling.
方法采用分层整群抽样的方法对一所职业技术学院的502名学生进行匿名式问卷调查。
Using this new anonymous technology into the mobile Internet Location-Based Services (LBS), this paper realizes the privacy protection by the methods of user identification anonymous.
把这种新匿名技术应用于移动互联网络的位置服务(LBS)上,提出了分层匿名用户标识的方法,实现了LBS中的位置隐私保护。
Methods an anonymous questionnaire survey was conducted among 1 650 students drawn randomly from 3 middle schools in Shijingshan County, Beijing using a clustered sampling method.
方法在北京市石景山区随机整群抽取3所学校初一到高二学生1 650人,匿名自填问卷调查。
Methods Female college students were sampled by cluster sampling and investigated by using questionnaire survey on anonymous basis.
方法采用分层整群抽样方法,对调查对象进行无记名自填式问卷调查。
Methods 159 students were selected in random in Taizhou Teachers College and an anonymous questionnaire was conducted.
方法随机抽取泰州师专在校学生159名,采用匿名问卷形式现场调查。
As the constant application of the port-hided and anonymous technologies in P2P software, the traditional P2P traffic I - dentification methods can't meet the new need.
端口隐藏、匿名技术等在P 2 P软件中不断应用,使得传统的P 2 P流量检测技术难以应对新的要求。
Methods: Investigation was made by anonymous questionnaire in law undergraduates of 1999 and 2000 grades in law College of Shantou University.
方法:无记名调查问卷的方式,调查汕头大学法学院1999级和2000级法学专业本科生。
Methods: an anonymous questionnaire survey was completed among 2816 students from 8 schools in Yibin.
方法:对宜宾市8所中学内共2816名中学生进行问卷调查。
Methods: an anonymous questionnaire survey was conducted among 560 college students through Internet.
方法:本课题通过网络采用无记名方式问卷调查了560名大学生。
应用推荐