Scala does not have static methods, fields, or initializers.
Scala没有静态的方法、字段和初始化程序。
Array initializers may also be used inline for calling functions.
数组初始值设定项也可以在调用函数中内联使用。
Generally changes to various initializers will not take effect on existing objects.
一般来说,各种初始化程序的变化对现有对象都没有影响。
During the initializing phase, any static initializers contained within a class are executed.
在初始化阶段,类中包含的静态初始化器都被执行。
This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.
此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。
If you use static initializers, you cannot catch the exceptions yourself.
如果使用静态初始化器,就不可能自己捕获异常了。
Object initializers, which ease construction and initialization of objects.
对象初始化器,简化了对象的构造和初始化。
Object initializers, which ease construction and initialization of objects.
简化了对象的构造和初始化。
Too few initializers were specified for an array of user-defined types or constants.
使用者定义具型别阵列或常数阵列所指定的初始设定式过少。
Gets the element initializers for initializing a collection member of a newly created object.
获取用于初始化新创建对象的集合成员的元素初始值设定项。
All positional arguments for an attribute must precede any variable or property initializers.
特性的所有定位参数必须位于任何变量或属性初始值设定项之前。
Using initializers is the simplest way to avoid uninitialized variables in your types, but it's not perfect.
使用初始化是避免类型中出现未初始化变量的最简单的方法。
The constructor's parameters specify the initializers that may be used when creating objects of the class type.
构造函数的形参指定了创建类类型对象时使用的初始化式。
Throughout this book we have used database initializers to drop and recreate the database every time the model changes.
本书中我们使用数据库初始化器在每次模型变化时来删除和重建数据库。
The toolbox is intended to contain all the evolutionary tools, from the object initializers to the evaluation operator.
工具箱是来包含所有进化工具的,从对象的初始化到评价操作算子。
Compound literals and designated initializers are a wonderful code maintainability feature. Compare these two code fragments.
复合文字和指定的初始化程序是非常好的代码可维护性特性。
Visual Basic 10, to be released with.net 4.0 and Visual Studio 10, is adding support for collection and array initializers.
伴随。NET 4.0和VisualStudio10的发布,VisualBasic 10添加了集合与数组初始值设定项的支持。
Implicitly-typed arrays are usually used in query expressions together with anonymous types and object and collection initializers.
隐含型别阵列通常是在查询运算式中与匿名型别及物件和集合初始设定式一起使用。
Explicit item creation through the factory is important for objects to be placed on the design surface that have default initializers.
对于要放置到设计图面的具有默认初始值设定项的对象而言,通过工厂显式创建项才是必要的。
Variable initializers are the simplest way to ensure that the member variables in your type are initialized regardless of which constructor is called.
在忽略哪个构造函数被调用的情况下,为了保证类型内部的成员变量都能被初始化,使用变量初始化器是最简单的方法。
Prefer Variable Initializers to Assignment Statements.
变量声明时初始化优于赋值语句。
Automatic Properties, Collection Initializers and Implicit Line Continuation Support with VB 2010.
VB 2010中的自动属性,集合初始器,以及隐式续行支持。
Initializers execute before the base class constructor for your type executes, and they are executed in the order the variables are declared in your class.
初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。
Initializers execute before the base class constructor for your type executes, and they are executed in the order the variables are declared in your class.
初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。
应用推荐