initializer

initializer

美 [ɪ'nɪʃəlaɪzə]  英 [ɪ'nɪʃəlaɪzə]

  • n.初始程序
  • 网络初始化器;初始化程序;初始化式

英汉解释

n.
1.
初始程序

例句

As with a normal aggregate initializer, missing values are treated as though they'd been given 0 as an initializer.

使用普通聚合初始程序缺少认为它们已经初始程序指定0来处理

As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.

正如前面看到那样静态字段初始设定代码式类型构造函数内部执行

The designated initializer syntax allows you to initialize members by name, without regard to the order in which they appear in an object.

指定初始程序语法允许通过名字初始成员不用理会它们对象出现顺序

This error is also produced when you try to use the short form of an array initializer nested inside a collection initializer .

如果尝试使用嵌套集合初始设定数组初始设定缩写形式生成错误

Metadata about operations, references, and basic attributes are initialized in a static block initializer, as shown in Listing 3.

有关操作引用以及基本属性元数据一个静态初始程序初始清单3

In standard C, the effect of this is to forbid the use of the address of a thread local variable as an initializer for an object or pointer.

标准C这种作法效果禁止线程本地变量地址用作对象指针初始设定

Whenever a particular type is required, the initializer for that type is transparently lifted into the type itself.

每当需要一个特殊类型类型初始明显提升类型本身

If you declare more than one variable with the same As clause, you cannot supply an initializer for that group of variables.

如果使用一个As子句声明多个变量不能变量提供一个initializer

Implicitly typed arrays, a form of array creation and initialization that infers the element type of the array from an array initializer.

数组数组创建初始形式数组初始推导出数元素类型

Instead of a constructor, the body of the class contains the class initializer.

方法表示主体包含初始设定而不是构造函数

A member initializer that specifies a collection initializer after the equals sign is an initialization of an embedded collection.

成员构造特指等号后面集合构造内嵌集合初始

In addition, both fields and settable properties can be assigned within the body of the object initializer.

此外字段设置属性对象初始主体内部进行

A declaration may have an initializer only if it is also a definition because only a definition allocates storage.

只有声明也是定义声明可以初始因为只有定义分配存储空间

To use them, you create a session object and pass it to the constructor or initializer for a binary XML reader or writer.

使用动态字典创建会话对象传递二进XML读取编写构造函数初始设定

A member initializer that specifies an object initializer after the equals sign is an initialization of an embedded object.

等号指定一个对象初始成员初始对内对象初始

Term used to describe the rules for initializing variables and array elements when no explicit initializer is given.

描述没有显式初始初始变量数组元素规则术语

When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.

派生中重写时返回方法定义输入数组对应初始设定对象数组

This error indicates that you tried to modify an initializer in a generic type.

错误指示尝试型类型修改初始设定

Anonymous types must be declared with an object initializer.

匿名类型必须对象初始设定加以声明

Class has an initializer and keeps track of the parameter passed in to determine whether to apply XSLT to XML results.

一个初始记录传递参数决定是否XML结果应用XSLT

As with instance initialization, you can use the initializer syntax as an alternative to the static constructor.

实例初始一样可以使用初始语法作为静态构造函数变体

In the case of PHP, the arguments to this object initializer are path, host and port.

PHP来说这个对象初始参数pathhostport

The metaclass will create the class (as a new style one) and will pass it to the class initializer procedure.

创建作为一个新式传递初始过程

If you do not specify datatype, the variable takes the data type of initializer.

如果没有指定datatype变量采用initializer数据类型

When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer.

建立包含阵列匿名别的物件初始定式必须隐含

An object initializer consists of a sequence of member initializers, enclosed by { and } tokens and separated by commas.

对象初始一系列成员初始组成封闭{}标记并且逗号间隔

The static initializer in Listing 2 shows the registration process for a Customer class that contains two properties: name and salary.

清单2静态初始显示Customer注册过程这个包含两个属性namesalary

With two exceptions, using an initializer is equivalent to assigning to a non class data member both in result and in performance.

除了例外类类型数据成员进行使用初始结果性能等价

An interface may not contain field declarations, initializer declarations, or nested class declarations.

interface不能包含字段声明初始设定声明嵌套声明

The static keyword can also be used to create a static initializer block that runs only once, when the object is first loaded into memory.

关键用来创建一个静态初始设定相应对象首次加载内存运行一次

Cannot initialize object of type 'type' with a collection initializer.

无法使用集合初始设定初始类型type对象

Given this kind of semantics, using initializer lists should be preferred whenever possible.

由于采用这种语义应该尽可能使用初始列表

A collection initializer specifies the elements of a collection.

集合初始指定集合元素

To instantiate the object within the shared memory, define an additional class, Initializer.

共享内存对象进行实例化定义另外Initializer

An array initializer or a constraint list has not been ended in a valid fashion.

数组初始设定约束列表结束方式无效

Initializer defines shared memory id m_shmid and a semaphore ms_mutex for synchronous event handling.

Initializer定义共享内存idm_shmid一个用来处理同步事件信号量ms_mutex。

Such initialization is tedious and error-prone because it is easy to forget an initializer or to supply an inappropriate initializer.

这样初始乏味易于出错因为容易遗忘初始提供不适当初始

The compiler uses a variable's initializer to determine the variable's type at compile time to produce early-bound code.

编译使用变数初始设定编译时期判断变数产生早期程式码

A class may contain several static initializer blocks interspersed with static field declarations.

一个class可以包含多个static字段声明交错static初始设定

When it discovers a loop, it displays three expressions: the initializer, condition, and iteration.

发现一个循环会显示表达初始程序条件迭代