单词 | anonymous method | ||||||||||||
释义 | anonymous method
更多释义 收起释义 例句释义: 匿名方法,匿名办法,於匿名方法 1. Omit the parenthesis only if the anonymous method could have been used on any delegate . 仅当匿名方法可能被用于任何委托时省略括号。 www.bing.com 2. A delegate object is normally constructed by providing the name of the method the delegate will wrap, or with an anonymous Method. 委派物件一般是藉由提供委派将包装的方法名称来建构,或使用匿名方法建构。 technet.microsoft.com 3. When an anonymous method uses the value of a local variable, the value is obtained at the moment the anonymous method is executed. 当匿名方法使用局部变量的值时,将在执行匿名方法时获取该值。 msdn2.microsoft.com 4. The lifetime of the local variable must now be extended to at least the lifetime of the anonymous method delegate. 局部变量的生存期现在必须扩展为至少持续到匿名方法委托的生存期结束。 dictsearch.appspot.com 5. anonymous method is a method that has no name. “匿名方法”就是没有名称的方法。 technet.microsoft.com 6. Changing a constructor with a field that is initialized by an anonymous method. 更改具有由匿名方法初始化的字段的构造函数。 msdn2.microsoft.com 7. To work around this situation, make the local variables that are used in the anonymous method, fields of the class. 若要解决此问题,请使匿名方法中使用的局部变量成为类的字段。 msdn2.microsoft.com 8. No unsafe code can be accessed within the anonymous-method-block. 在anonymous-method-block中不能访问任何不安全代码。 msdn2.microsoft.com 9. This method takes a new client object and an anonymous method that holds the same code a normal using block would contain. 方法接收一个新的客户端对象,以及一个匿名方法,该方法持有的代码与正常使用using语句块包含的代码完全相同。 www.infoq.com 10. Associating the delegate with an anonymous method. 使委托与匿名方法关联。 msdn2.microsoft.com 1. Specifically, the moments of when the value of the local variable is passed to the anonymous method will differ. 特别需要指出的是,将局部变量的值传递给匿名方法的时间将有所不同。 msdn2.microsoft.com 2. Editing an anonymous method or any method that contains an anonymous method. 编辑匿名方法或任何包含匿名方法的方法。 msdn2.microsoft.com 3. An anonymous method is a code block that is passed as a parameter to a delegate. 匿名方法是作为参数传递给委托的代码块。 msdn2.microsoft.com 4. The delegate keyword is used to declare a reference type that can be used to encapsulate a named or an anonymous method. delegate关键字用于声明一个引用类型,该引用类型可用于封装命名方法或匿名方法。 msdn2.microsoft.com 5. This error occurs when you try to modify an initializer that is assigned an anonymous method. 当试图修改已分配了匿名方法的初始值设定项时,将发生此错误。 msdn2.microsoft.com 6. This can be translated to a compiler generated instance method containing the code of the anonymous method 它会被翻译为一个编译器生成的实例方法,该方法包含了匿名方法中的代码 asp.dejiaocheng.com 7. Let's take the example above and replace the anonymous method with a lambda expression 我们再借用以上示例,并用lambda表达式替换匿名方法 msdn.microsoft.com 8. Finally, the following anonymous method captures this as well as two local variables with different lifetimes 最后,下面的匿名方法捕获了this和两个具有不同生存期的局部变量 asp.dejiaocheng.com 9. the scope of the parameters of an anonymous method is the 匿名方法的参数的范围是 www.ichacha.net 10. Local 'variable' or its members cannot have their address taken and be used inside an anonymous method block 不能在匿名方法块内部获取并使用局部变量“variable”或其成员的地址 msdn2.microsoft.com 1. Asynchronous File IO using anonymous method 使用匿名办法实现异步文件 blog.csdn.net 2. An anonymous method cannot access the 匿名方法不能访问外部范围的 msdn2.microsoft.com 3. To subscribe to events by using an anonymous method 使用匿名方法订阅事件 msdn2.microsoft.com |
||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。