The PersistenceManager contains generic methods to persist each of the entities in the business model.
PersistenceManager类包含了持久化业务模型中的每一个实体的一般函数。
So rather than use generic methods to search for matching nodes, you can search for nodes using attributes that are named for their meaning.
因此,可以使用根据其意义命名的属性来搜索节点,而不必使用通用方法搜索匹配节点。
Test developers created generic methods to get all objects of a particular class or to get just one object at a given index under a specific parent object.
测试开发人员创建一个通用的方法来获取一个特定类的所有对象,或者获取一个具体父对象下给定索引号的一个对象。
Theme functions provide generic methods to build Web content that is used by modules providing core functions in Drupal, or by your own modules to extend Drupal.
主题函数提供生成Web内容的一般性方法,模块使用它们提供Drupal中的核心函数或者对Drupal进行扩展。
In the case of generic methods, if a type parameter appears only once in the method signature, then it probably should be a wildcard rather than a named type parameter.
就泛型方法来说,如果一个类型参数在方法签名中只出现一次,它很有可能是一个通配符而不是一个命名的类型参数。
This simplifies the usability of generic methods.
这会简化泛型方法的可用性。
The compiler applies type inference logic to all generic methods that share the same name.
编译器会对共用相同名称的所有泛型方法套用型别推断逻辑。
Instantiation of a generic type or calls to existing generic methods can be added, deleted, or changed.
可以添加、删除或更改泛型类型的实例化或对现有泛型方法的调用。
In the overload resolution step, the compiler includes only those generic methods on which type inference succeeded.
在重载解析步骤中,编译器仅包括类型推理取得成功的那些泛型方法。
CA1004: Generic methods should provide type parameter.
CA1004:泛型方法应提供类型参数。
CA1004: Generic methods should provide type parameter.
CA1004:泛型方法应提供类型参数。
应用推荐