initializer
英 [ɪˈnɪʃəˌlaɪzə]
美 [ɪˈnɪʃəˌlaɪzər]
网络 初始值; 初始化程序; 初始化语句; 初始化式; 初始化器
双语例句
- Initializer lists in variable definitions
可以在变量定义中使用初始化器列表 - An object creation expression can omit the constructor argument list and enclosing parentheses provided it includes an object or collection initializer.
某个对象建立表达式能够删除构造函数的参数列表和圆括号,以提供包含的对象或集合的构造者。 - To instantiate the object within the shared memory, define an additional class, Initializer.
要对共享内存中的对象进行实例化,请定义另外一个类Initializer。 - In an initializer block, which executes just before the constructor
在一个初始化块中,仅在构造函数之前执行 - The initializer cannot refer to itself.
初始化中不能提起它自身。 - An array initializer or a constraint list has not been ended in a valid fashion.
数组初始值设定项或约束列表的结束方式无效。 - Note that keystone and nova use slightly different variable names in their client initializer methods, so I define separate functions for each.
请注意,keystone和nova在其客户端初始化器方法中使用了稍微不同的变量名,所以我为每个工具定义了不同的函数。 - If the client initializer returns without throwing an exception, it has successfully authenticated against the endpoint.
如果客户端初始化器返回时没有抛出异常,则它已成功向端点验证。 - The same rules hold true if the exception is thrown from a static field initializer.
如果异常是从静态字段初始值设定项引发的,也存在同样的规则。 - Instead of a constructor, the body of the class contains the class initializer.
方法来表示。类的主体包含类初始设定项,而不是构造函数。
