为什么不在类域网VB。类型推理工作?
用你的类域里面构造函数在创建新的对象。
Use your class fields inside constructor while creating new objects.
GC根能在根堆里找到,在线成执行堆,在对象和类域里。
GC roots can be found in the root stacks, in thread execution stacks, and in object and class fields.
RIP最新的增强版是RIP - 2规范,它允许在RIP报文中包含路由汇总、无类域问路由、变长子网掩码等信息,并提供了简单的认证机制。
The new version of RIP is RIP-2. It allows packets to include such information as routing summary, classless interdomain routing, variable length subnet mask and simple authentication.
此时应该看到添加的文件(域类和对应的集成测试)。
You should see the files added (both the domain class and the corresponding integration test).
如果您有一个域包,这个域包是唯一的一个其它类或者域包的服务器,您可以决定合并这两个域包。
If you have a domain package that is a server to only one other class or domain package, you may decide to combine the two packages.
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
Or do you move all the validation code into the services tier, removing it from the domain class that should be the owner of that knowledge?
我采用POJT对域模型类的业务方法进行测试。
I tested the business methods of domain model classes with POJTs.
它使用一个规则参数来声明和描述一个用户可以键入一个合格的类名称的域。
It USES a rule parameter to declare and describe a field where the user can type a qualified class name.
出于讨论目的,我为所有查询名称都加了域类的短(非限定)名称作为前缀。
For the purposes of this discussion, I prefix all query names with the short (unqualified) name of the domain class.
在此版本中,域类(黄色部分)包含了一个定义日程项目语义的界面。
In this version, the domain class (in yellow) includes an interface that defines the semantics of a schedule item.
为此,您必须将模式需要的所有状态和关系添加到域类中。
To do this, you must add any state and relationships that the pattern requires to your domain classes.
每个域类根据名称与一个控制器配对。
Every domain class pairs up with a controller based on the name.
活动记录模式则可用来在域类内包装关系数据库持久性方法。
You use the active record pattern to wrap relational database persistence methods in domain classes.
作为替代,接收方可以决定将类库域添加到他们的定义中。
As an alternative, the recipients could decide to add the class library domain to their definitions.
要将模式应用到模型,涉及到将模式解决方案中的通用规则映射到模型中特定的域类。
Applying a pattern to your model involves mapping the generic roles in the pattern solution to specific domain classes within your model.
子类是域类,因为它们向存在于应用程序域内的实用工具提供了包装程序。
The subclasses are said to be domain classes because they provide wrappers to entities that exist in the application domain.
静态函数与静态属性一样,作用域也是类而非该类的对象实例。
Static functions, like static properties, are scoped to the class rather than to object instances of that class.
本文提供的示例代码将演示这些统一域类的使用。
The sample code provided with this article demonstrates the use of these unified domain classes.
在该方案中,类库域按照这一做法以便将来可以添加额外的域。
In the scenario, the class library domain follows this practice so that additional domains can be added in the future.
将定义通用行为(模板),并提供域特定的行为和域类提供的状态(提供挂钩)。
The generic pattern behavior is defined (the template), with domain-specific behavior and state provided by domain classes (which provide the hooks).
注意,这些只包含应用程序架构的域类(api层)。
Notice that these consist only of the application architecture's domain classes (the API layer).
这样,新创建域类时它们就有适当的字段和事件闭包。
That way every new domain class created already has the fields and event closures in place.
使用自动完成是记住什么查询可用于特定域类的快捷方法。
Using auto completion is a fast way to remember what queries are available for a certain domain class.
它为您提供了如何使用域类以及如何编写控制器和视图的优秀示例。
It gives you good examples of how to use the domain classes, as well as how to write a controller and a view.
本文还包括有关JMS 1.1中的统一域类、异常处理、传输绑定和其他最佳实践等信息。
Also included with this article are additional sections on the unified domain classes in JMS 1.1, exception handling, transport bindings, and other best practices.
后两个类代表了业务域驱动示例类。
The latter two classes represent business domain-driven example classes.
但是,这次失败并不是因为域类上缺少元编程,而是因为缺少依赖性注入。
This time, however, the failure isn't due to the lack of metaprogramming on a domain class. It's due to the lack of dependency injection.
向域类添加事件处理程序。
向域类添加事件处理程序。
应用推荐