模块中定义的过程成为该对象的属性和方法。
Procedures defined in the module become the properties and methods of the object.
在模块中定义的过程成为该对象的属性和方法。
Procedures defined in the module become properties and methods of the object.
一个对象的属性和方法可以被它的代理对象所继承,通过切换操作实现。
The attributes and methods of and object can be inherited by its deputy objects.
当多个线程可以调用单个对象的属性和方法时,对这些调用进行同步处理是非常重要的。
When multiple threads can make calls to the properties and methods of a single object, it is critical that those calls be synchronized.
一个代理对象享有其自己的标识符,而且除了继承源对象的属性和方法外,还能拥有独自的属性和方法。
A deputy object has its own persistent identifier, and may have additional attributes and methods that are not derived from its source objects.
到目前为止,所看到的方法和属性都在对象上下文中进行操作。
The methods and properties you have seen so far all operate in object context.
我从一些基础功能开始,比如查询存储库以了解它的功能,检索对象和对象属性来验证常规方法。
I started with the basics like querying the repository for its capabilities and retrieving objects and object properties to validate the general approach.
一旦你传入了对象,没有能够描述会调用什么属性和方法的接口类型。
There are no interface types to describe what properties and methods will be called once you pass the object in.
这样你就可以在运行时获得对象的信息,比如对象包含的属性和方法以及实现的接口等等。
You then have an API for accessing runtime information of the objects running in your application, like what properties and methods they have, what interfaces they implement, etc.
我们已介绍了如何获取和设置数据对象的属性及其连接方法,接下来需要说明如何创建数据对象。
Now that we have seen how to get and set the properties on a data object and how to connect them, we need to explain how to create data objects.
该接口包含方法定义,通过方法定义,客户机可以获取和设置与数据对象相关联的属性。
This interface includes method definitions that enable clients to get and set the properties associated with the DataObject.
相反,它允许通过引入附加的方法字段和属性来修改对象的结构。
Rather, static crosscutting allows you to alter the structure of an object by introducing additional methods, fields, and properties.
包括纯粹为整合的目标所需的对象、属性、接口和方法。
Includes objects, attributes, interfaces, and methods which are required purely for integration purposes.
事实上,如果您有使用工具箱的Ajax代码,可以尝试使用XMLHttpRequest对象及其属性和方法重新改写。
In fact, if you have Ajax code running that USES a toolkit, try to rewrite it using just the XMLHttpRequest object and its properties and methods.
User对象将是非常基本的:仅仅是一个名称和与Twitter的OAuth实现相关的两个属性,我们将充分利用其直观的授权方法。
The User object will be pretty basic: just a name and two attributes related to Twitter's OAuth implementation, which we'll leverage for its intuitive approach to authorization.
在与Nautilus相同的流程中执行的扩展,能够访问对象、方法、和属性。
Extensions execute in the same process as Nautilus and, therefore, have access to objects, methods, and attributes.
这一方法和适当的getter和setter方法一同设置 formBean的属性,如下所示,其中使用从模型返回的对象实例
This method sets the attributes of the formBean with the appropriate getter and setter methods, as shown below using the object instance returned from the model
为了让您快速地大体了解它,下面给出将要用于该对象的很少的几个方法和属性。
To give you a really quick overview, these are just a few of the methods and properties you'll use on this object.
然后它使用元对象属性值和特定于应用程序的API来执行相关的Verb处理方法。
It then executes the corresponding Verb processing method using the meta-object attribute values and application-specific APIs.
文章的最后是一个基于mockup服务对象的实际例子,需要管理它的启动和停止方法和读写属性。
I conclude the article with a working example based on a mockup service object with both start and stop methods and a read-write attribute to be managed.
$this 伪变量提供了一种用于对象引用自己的属性和方法的机制。
The $this pseudo-variable provides a mechanism for objects to refer to their own properties and methods.
这意味着,用户可以仅使用DataObject接口中定义的方法类获取和设置数据对象的属性,而无需使用静态api场景中生成的API。
This means that users can only use methods defined in the DataObject interface to get and set properties of the data object instead of using APIs generated in the static APIs scenario.
在_ setstate _方法内,可以根据经过pickle的名称和位置信息来重建文件对象,并将该文件对象分配给这个实例的logfile属性。
Inside the _setstate_ method we are able to recreate the file object based on the name and position information we pickled, and assign the file object to the instance's logfile attribute.
表示上传到WebSphereCloudBurst 的单个脚本包的脚本对象,提供配置特定脚本包的属性和方法。
The script object represents a single script package uploaded to WebSphere CloudBurst, and provides attributes and methods to configure the specific script package.
类似地,要删除元素和属性,使用Elements对象的delete_element和delete_attribute方法。
Similarly, to delete elements and attributes, use the delete_element and delete_attribute methods of the elements object.
鸭子类定义意为对象的类型由其运行时支持的属性和方法决定,也就是说,一个对象做的是什么便是什么这件事的意义在于,我的工作并不要求我解决问题,而是要求我搞清楚客户的需求并且保证程序员能够设法实现解决方案。
The point being, my job wasn't necessarily to solve problems, it was to figure out what customers needed and make sure that programmers figured out how to solve them.
通过公共接口暴露引用类型,允许你的对象的用户,不用通过你已经定义的方法和属性就能修改它的内部。
Exposing reference types through your public interface allows users of your object to modify its internals without going through the methods and properties you've defined.
事件,调用对象的其他方法和设置属性,或者在销毁对象前执行特定于对象的清理操作。
Event to call other methods on the object and set properties or to perform clean-up that is specific to the object before the object is destroyed.
事件,调用对象的其他方法和设置属性,或者在销毁对象前执行特定于对象的清理操作。
Event to call other methods on the object and set properties or to perform clean-up that is specific to the object before the object is destroyed.
应用推荐