The class constructor takes up to three parameters.
这个类构造器最多有三个参数。
The next few lines introduce the int class constructor.
后面的几行介绍int类的构造函数。
Each client has to have a unique identifier string which is passed as an argument to the class constructor.
每个客户端必须有单独的标识符串,将该标识符串作为参数传送给类构造函数。
But you can also explicitly create a string object by using the STR class constructor, as shown in Listing 6.
但是您也可以使用str类构造函数显式地创建字符串对象,如清单6所示。
We must explicitly declare our content provider constructor and call the super-class constructor with the expected parameters.
我们必须显式地声明内容提供程序构造函数并使用所需的参数调用超类构造函数。
A static constructor, also known as a class constructor, is used to initialize a type.
静态构造函数(也称为类构造函数)用于初始化类型。
Be aware that any class constructor code will run on the first thread in the first context that accesses the field.
请注意,任何类构造函数代码都将在访问该字段的第一个上下文中的第一个线程上运行。
The first one creates an integer object whose value is 0, which is the default value used when no value is supplied to the int class constructor.
第一个构造函数创建了一个整数对象,其值为0,在没有值提供给int类构造函数的情况下,该值是所使用的默认值。
Next, an instance of the Services_oEmbed class is initialized, with the class constructor passed two arguments: the YouTube URL and an array of options.
接下来,初始化services_oembed类的一个实例,类构造函数被传递两个参数:YouTubeURL和一组选项。
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.
初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。
If you are familiar with the basics of object-oriented programming, you will know that when an object is instantiated, the class constructor function is automatically called.
如果您对面向对象编程语言基本原理比较熟悉,您就知道当一个对象被实例化时,类构造函数被自动调用。
Check the Special Pages developer's guide page (see Resources) for more information about the SpecialPage class constructor, which will let you restrict access, hide the page, etc.
有关SpecialPage类构造函数(利用它可限制访问、隐藏页面等)的更多信息,请查阅特殊页开发指南页面(参见参考资料)。
A link demand performed on a static class constructor does not protect the constructor because static constructors are called by the system, outside the application's code execution path.
对静态类构造函数执行的链接要求不会保护该构造函数,因为静态构造函数是由系统调用的,它们并不包括在应用程序的代码执行路径中。
The second change required is to construct (at the very least) an object array holding the actual values of parameters to be passed into the Collaborator class' constructor.
必需的第二项更改是(至少)构造一个保存传递给 Collaborator类的构造函数的参数实际值的对象数组。
Additional arguments after the name will be passed to the class 'constructor.
名字后面的附加参数会传递给类的构造函数。
You can generate a stub for any undefined class, constructor, method, property, field, or enum that you want to use but have not yet defined.
可以为要使用但尚未定义的任何未定义类、构造函数、方法、属性、字段或枚举生成存根。
You can generate a stub for any undefined class, constructor, method, property, field, or enum that you want to use but have not yet defined.
可以为要使用但尚未定义的任何未定义类、构造函数、方法、属性、字段或枚举生成存根。
应用推荐