由于大型应用程序中组件的通信方式,所以假设对象实例的创建者就是它的用户并不总是安全的。
Because of the way components in large applications communicate, it's not always safe to assume that the creator of an object instance is its user.
相反,它将直接为您创建该属性——在这个特定的数据对象实例上。
Instead it simply creates the property for you — on that particular instance of the data object.
另外,它还创建应用程序对象的一个实例并开始初始化过程。
It also creates an instance of the application object and begins the initialization process.
这意味着对象的所有不同实例在程序初始化阶段创建,将在随后重用和引用。
This means that all different instances of an object are created during the program initialization phase and reused and referenced later on.
实例是将类对象作为函数调用而创建的。
Instances are created by calling the class object as a function.
注册可以标识创建委托,以便在需要对象的新实例时调用。
Registration identifies a creation delegate to call when a new instance of the object is required.
构造函数只是创建特定类实例(或对象)的特殊方法。
A constructor is just a special method that creates an instance (or object) of a particular class.
现在,对于我的实例,我想要类,但不希望不得不创建类的对象。
Now, for my example, I wanted to have the class, but didn't want to have to create an object of the class.
显式要求创建和摧毁一个对象的实例。
Explicit function calls are required in order to create and destroy object instances.
只有当对象创建后,实例的初始化才开始执行。
Instance initializers are executed only if an object is constructed.
然后它创建一个VisitInformation对象的实例,(标记为“visits”),它拥有会话数据。
Then it creates an instance of the VisitInformation object (labeled "visits") that holds the session data.
步骤5:通过提供XKMS密钥数据和授权信息,创建XKMSRegister对象的一个实例。
Step 5: Create an instance of the XKMSRegister object by providing the XKMS key data and authorization information.
首先,将整个对象创建为amazonresults类的一个实例。
First, create the overall object as an instance of the AmazonResults class.
创建一个Xyz对象实例的函数。
一般来讲,尤其是对于Fabric集群,在尽可能最广的范围内创建对象缓存实例是非常重要的。
In general, and especially for Fabric clustering, it is important to create the object cache instances at the widest scope possible.
与传统的分布式对象系统不同,BPEL4WS实例不是通过工厂模式创建的。
Unlike traditional distributed object systems, in BPELWS instances are not created via a factory pattern.
Creator类用于定义创建产品对象实例的Factory方法。
Creator classes are used to define factory methods that create instances of the product objects.
LaunchApp使用Assembly .LoadFrom静态方法创建Assembly对象的实例,而不是通过显式调用构造函数来创建。
LaunchApp creates an instance of an Assembly object using the Assembly.LoadFrom static method rather than by using an explicit constructor call.
Factory方法模式是一个创建的模式,它定义一个用来创建对象的接口,而让子类来决定实例化哪个类。
The Factory Method Pattern is a creational pattern that defines an interface for creating an object but lets subclasses decide which actual class to instantiate.
单例模式的目的在于控制对象的创建,限制对外提供的对象数量为1,同时允许在情况变化时创建更多的实例。
The singleton's purpose is to control object creation, limiting the number to one but allowing the flexibility to create more objects if the situation changes.
在Ruby中创建新的对象实例的方式是不一样的。
对于每个键,会在对象上创建一个具有对象名称和数据的实例变量。
With each key, an instance variable is created on the object with that name and data.
将应用程序对象存储到会话或请求中,这样做可以允许规则引擎稍后查找对象,而无需创建一个新的实例。
Storing the application object on the session or request enables the rules engine to later find that object without having to create a new instance.
还可以用它在数据库中创建必要的对象实例以执行测试,从而避免编写复杂的实体创建脚本。
You can also use it for testing by creating the necessary instances of objects in a database, thus avoiding verbose entity creation scripts.
通常,如果再次到达该实例,则将创建一个继承此标记的新实例对象。
Normally, if it is reached again, a new instance object is created which inherits this mark.
这包括关于运行时环境、业务环境和创建事件的应用程序对象的实例的信息。
This includes information about the runtime environment, the business environment and the instance of the application object that created the event.
一种查询方法是,创建持久化对象的一个实例,然后填充需要用搜索条件搜索的字段。
One approach to querying is to create an instance of the persistent object and populate the fields on which to search with the search criteria.
要确保在创建这个业务对象子类型的一个实例时触发定制审批工作流,您还需要创建相应的事件链接。
To ensure that your custom approval workflow can be triggered upon creation of instances of this business object subtype, you also need to establish the corresponding event linkage.
当需要为业务对象创建新的实例时,您可以使用值。
When you want to create a new instance of a business object, you use the value.
当需要为业务对象创建新的实例时,您可以使用值。
When you want to create a new instance of a business object, you use the value.
应用推荐