• We have a similar constructor in all our other widget classes so that we can find and construct any type of widget dynamically.

    其他所有窗口小部件相似的构造函数,以便动态查找构造任何类型窗口小部件。

    youdao

  • But you cannot use a type parameter to access a constructor because, at compile time, you don't know what class is being constructed and therefore what constructors are available.

    但是不能使用类型参数访问构造函数,因为编译时候知道构造什么因此就不知道使用什么构造函数。

    youdao

  • In Listing 3, the name and content type of the input document is specified by the constructor.

    清单3中,输入文档名称内容类型构造函数指定

    youdao

  • This type actually defines the signature of a constructor for the specified class and a matching sequence of values.

    类型实际定义指定用于匹配序列构造器签名

    youdao

  • The runtime will stop any exceptions trying to leave a type constructor and wrap the exception inside of a new TypeInitializationException object.

    运行库停止任何尝试保留类型构造函数异常将该异常包装到一个新的TypeInitializationException对象

    youdao

  • To instantiate a Dictionary object, you need to pass a type string and a DictionaryIO object to its constructor.

    实例化Dictionary对象需要类型字符串DictionaryIO 对象传递给的构造函数。

    youdao

  • Without beforefieldinit, the runtime must run the type constructor at a precise time-just before the first access to static or instance fields and methods of the type.

    如果没有beforefieldinit运行库就必须某个精确时间运行类型构造函数,即,恰好在第一访问类型静态实例字段方法之前

    youdao

  • Figure 1 shows a constructor with two arguments of type Point and a destructor modeled for the DrawingSurface class of the sample application used here for illustration purposes.

    1展示示例应用程序(在这里用于举例)drawingsurface建模带有两个Point类型参数构造方法一个析构方法

    youdao

  • As a concrete example, consider Listing 3, which declares a generic type Box and invokes the Box constructor.

    作为具体示例请考虑清单3声明通用类型Box调用Box结构函数

    youdao

  • The object sharedmem1 is of type shared_memory_object (declared and defined in Boost headers) and takes three arguments in its constructor

    sharedmem1对象类型 shared_memory_object(Boost文件中声明定义),构造函数三个参数

    youdao

  • Use assignment context, as in the simple scheme, and also use the type of constructor arguments (call this complex).

    使用赋值上下文简单架构那样,使用构造函数参数类型(称为复杂结构)。

    youdao

  • When you want to create an atomic value of one of the time-oriented data types, use a type-constructor function and provide the string representation as an argument.

    如果需要创建时间相关数据类型的单个,可以使用类型构造函数提供时间字符串表示形式作为参数。

    youdao

  • Normally, the type checker ensures that these super-constructor calls will succeed by looking up the superclass and making sure that a matching super-constructor exists.

    通常通过查找确保存在匹配超级构造函数,类型检查器确保这些超级构造函数调用成功

    youdao

  • The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.

    构造函数没有参数并且返回类型实例中的所有属性都为空。

    youdao

  • When you create a structured type, DB2 automatically creates a constructor function for the type and creates both mutator and observer methods for the attributes of the type.

    创建结构化类型时,DB 2类型自动创建一个构造函数,为类型属性创建mutator方法observer方法。

    youdao

  • The core of the listing is the defnode macro that takes a node type and a vector of field names, and creates a constructor function for creating maps of that type.

    这个清单核心defnode宏,它获取节点类型一个字段矢量创建一个构造函数创建该类型的映射

    youdao

  • When an explicit type constructor is present, the compilers will not mark the type with beforefieldinit, and the precise timing restrictions lead to the performance drop hinted at by FxCop.

    存在类型构造函数时,编译不会beforefieldinit标记类型,精确计时限制导致FxCop所暗示性能下降

    youdao

  • 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.

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

    youdao

  • Type parameters can also be declared within method and constructor signatures to create generic methods and generic constructors.

    参数可以允许方法构造中定义,-这时方法和构造就被称之谓泛型方法和泛型参数。

    youdao

  • The two constructors both need a reference of an object, and the second constructor needs one more, a parameter of boolean type to indicate whether we need to track the resurrection of the object.

    构造函数需要对象引用第二构造函数还需要一个布尔参数表示我们是否需要跟踪对象的重生

    youdao

  • This essentially means locate the class type, allocate an object and run the specified constructor.

    实际上意味着查找类型分配一个对象运行指定构造方法

    youdao

  • The programming language compiler added a default static constructor to your type and did not make it private.

    编程语言编译器类型添加默认静态构造函数,但设置为私有。

    youdao

  • A constructor is a function you call to instantiate and initialize a particular type of object. You invoke a constructor with the new keyword. Here are a few examples of using constructors.

    构造器一个函数你可以调用它实例初始化一个特殊对象类型

    youdao

  • Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and the constructor that best matches the specified parameters.

    使用指定程序集文件与指定参数匹配程度最高的构造函数来创建指定名称类型实例

    youdao

  • The number, type, and order of elements in the parameters array should be identical to the number, type, and order of parameters for the constructor reflected by this instance.

    参数阵列元素数目顺序应该这个执行个体所反映建构函式参数的数目、型别和顺序相同

    youdao

  • When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.

    结构包含引用类型作为成员时,必须式调用成员默认构造函数否则该成员将保持未赋值状态且该结构不可用。

    youdao

  • A type that implements interfaces does not necessarily expose a constructor, and depending on the access level of a constructor, the code within the generic type might not be able to access it.

    实现接口类型不必公开构造函数,并且受构造函数访问级别限制,泛型类型中的代码可能无法访问构造函数。

    youdao

  • Because public constructors create instances of a type, and you cannot create instances of an abstract type, an abstract type that has a public constructor is incorrectly designed.

    因为公用建构函式会建立别的执行个体,而且无法建立抽象型别的执行个体,因此具有公用建构式的抽象型别设计正确

    youdao

  • Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

    返回指定元数据标记标识类型运行时类型句柄指定标记所在范围内的类型方法泛型类型参数

    youdao

  • Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

    返回指定元数据标记标识类型运行时类型句柄指定标记所在范围内的类型方法泛型类型参数

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定