由于大型应用程序中组件的通信方式,所以假设对象实例的创建者就是它的用户并不总是安全的。
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.
这意味着对象的所有不同实例在程序初始化阶段创建,将在随后重用和引用。
This means that all different instances of an object are created during the program initialization phase and reused and referenced later on.
注册可以标识创建委托,以便在需要对象的新实例时调用。
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.
然后它创建一个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.
创建一个Xyz对象实例的函数。
一般来讲,尤其是对于Fabric集群,在尽可能最广的范围内创建对象缓存实例是非常重要的。
In general, and especially for Fabric clustering, it is important to create the object cache instances at the widest scope possible.
WSIF对WSDL进行分析,从而为输入、输出和错误的WSIFService、WSIFPort、WSIFoperation、WSIFMessage创建对象实例,并执行相应操作。
WSIF parses the WSDL to create object instances for WSIFService, WSIFPort, WSIFoperation, WSIFMessage for input, output and fault and executes the operation.
与传统的分布式对象系统不同,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.
对于每个键,会在对象上创建一个具有对象名称和数据的实例变量。
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.
您可以手动对表单元素进行实例化并把它们连接到表单,或者让表单对象创建并实例化一个新表单元素,使它符合您要求的类型。
You can instantiate the form elements manually and attach them to the form or let the form object create and instantiate a new form element of the requested type for you.
这包括关于运行时环境、业务环境和创建事件的应用程序对象的实例的信息。
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 an application performs a lookup, an instance of the administered object is created and the properties set before returning the object to the application.
与类指定一个创建对象的模版很相像,注释类型指定创建注释实例的模版。
Annotation types specify a template to create annotation instances, much the same way classes specify a template to create objects.
创建数据对象实例的唯一规则是,任何带更改摘要的数据对象都不能包含其他带更改摘要的数据对象。
The only rule when creating instances of DataObjects is that no DataObject with a change summary may contain another DataObject with a change summary.
该知识用于确保对实例数据的创建和修改符合数据对象的结构和类型规则。
This knowledge is used to ensure that the creation and modification of instance data conforms to the structure and type rules for the data object.
该知识用于确保对实例数据的创建和修改符合数据对象的结构和类型规则。
This knowledge is used to ensure that the creation and modification of instance data conforms to the structure and type rules for the data object.
应用推荐