二者都以OnInit方法开头,并且定义了相似的构造函数和对象处理程序。
You also start with an OnInit method and define similar constructors and object handlers.
大函数名和对象系统现在显示出它们的价值。
The large function names and object system now show their worth.
该回调函数的参数包括一个事务句柄和一个错误对象。
The arguments to this callback function include a transaction handle and an error object.
如果需要的话,您还可以传递一个可选的数据对象和回调函数。
You can pass an optional data object and callback function if you need them.
对象就是数据和函数的集合。
对象消息传递(数据和函数)。
对象的引用可以以几种方式逃避它的构造函数,直接和简接都可以。
An object's reference can escape its constructor in several ways, both directly and indirectly.
对象的构造函数和render方法看上去是这样的
The object's constructor and its render method look like this
构造函数和析构函数是面向对象程序设计中的难点。
The construction function and the destruction function are difficult parts in object-oriented programming design.
但与函数指针不同的是,委托是面向对象的、类型安全的和保险的。
Unlike function Pointers however, delegates are object-oriented, type-safe, and secure.
但与函数指针不同的是,委托是面向对象的、类型安全的和保险的。
Unlike function Pointers however, delegates are object-oriented, type-safe, and secure.
应用推荐