Constructor Initializers的意思|示意

美 / / 英 / /

构造函数初始化器


Constructor Initializers的网络常见释义

构造函数初始化 ... 实例构造函数 Instance Constructors ; instance constructor 构造函数初始化 Constructor Initializers 虚拟构造函数 virtual constructors ...

Constructor Initializers相关例句

Still don't buy the case for constructor initializers?

仍然不买构造函数初始化器的帐?

This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.

此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。

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.

初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。

Variable initializers are the simplest way to ensure that the member variables in your type are initialized regardless of which constructor is called.

在忽略哪个构造函数被调用的情况下,为了保证类型内部的成员变量都能被初始化,使用变量初始化器是最简单的方法。

You can use object initializers to initialize type objects in a declarative manner without explicitly invoking a constructor for the type.

以声明方式初始化类型的对象,而无需显式调用该类型的构造函数,您可以使用对象初始值设定项。

The compiler processes object initializers by first accessing the default instance constructor, and then by processing the member initializations.

编译器进程的第一个访问默认实例的构造函数,然后通过处理成员初始化对象初始值设定项。