万维网联盟(W3C)的许多推荐标准都倡导使名称空间模块化。
Many recommended standards of the World Wide Web Consortium (W3C) promote namespaces for modularity.
这个例子仍然使用了“注入”,这对普通情况来说有些多余;也就是说,我们将增强的类放回到模块名称空间中的一个特定名称中。
This example still uses the "injection" which is somewhat superfluous to the general case; i.e. we put the enhanced class back into a specific name in the module namespace.
根或全局空间被认为是空的,文件扫描中每次遇到模块关键字时,字符串“:”和其标识都会附加到当前根的名称后面。
The root or global space is considered empty and each time the module keyword is encountered during a file scan the string ": :" and the identifiers are appended to the name of the current root.
如果模块没有目标名称空间声明,这种方法常常被称为“变色龙”模式设计范式。
When modules have no target namespace declaration, this is often referred to as a chameleon schema design pattern.
在uml图中,可以通过将UML模块保存在不同的包中来表示名称空间。
In UML diagrams, namespaces can be represented by keeping the UML modules in different packages.
此外,将为模块中的每个sca导出创建一个名称空间绑定,如图6中所示。
In addition, a name space binding is created for every SCA export within a module, as shown in Figure 6. This binding is created at the cell scope and follows the naming pattern of.
所有资源和资源集合都通过这个cloudburst模块访问,从而提供了一致的访问模式并减少了用户脚本出现名称空间冲突的风险。
All resources and resource collections are accessed through this cloudburst module, providing a consistent access pattern and reducing the risks of namespace collision with user scripts.
xml文件被顶级blueprint元素认为是一个blueprint模块,这含有名称空间声明。
File is identified as a blueprint module by the top-level blueprint element. This contains the namespace declaration.
Ruby模块不能实例化;它只是一个不同的名称空间下的例程的集合。
You can't instantiate a Ruby module; it's just a collection of routines under a distinct namespace.
您定义的模块将创建一个逻辑组,模块的自由使用防止了全局名称空间的污染。
The modules you define will create a logical group and liberal use of modules will prevent pollution of the global namespace.
除了应用支持可重用性的模块概念之外,类和名称空间的命名方式也能够实现可重用性。
In addition to applying concepts of modularity that enable reusability, the way you name classes and namespaces gives them an implied purpose and, therefore, reusability.
Dojo是围绕一个层级包装系统构建的,该系统支持使用名称空间的模块式开发。
Dojo is built around a hierarchical packaging system that allows for modular development using namespaces.
模块作为一个名称空间:定义在模块中的名称—诸如变量和函数—对于其他模块来说是不可见的,除非这些名称被导入。
A module serves as a namespace: names defined in a module - such as variables and functions - are not visible to other modules, unless those names are imported.
如果使用限定名称,则必须为需要的程序元素指定命名空间、模块和标识符。
If you use a qualified name, you must specify the namespaces, the module, and the identifier for the program element you want.
如果使用限定名称,则必须为需要的程序元素指定命名空间、模块和标识符。
If you use a qualified name, you must specify the namespaces, the module, and the identifier for the program element you want.
应用推荐