... 嵌套class,局部化(nested class, locality) 嵌套的名字空间(nested namespace) 嵌套template(nested template) ...
基于8个网页-相关网页
An arbitrary number of nested TransactionScopes are possible, and internally the System.Transaction namespace maintains the stack of all of the ambient transactions.
可以嵌套任意数量的TransactionScope,在内部,System . Transaction命名空间保留所有环境事务的堆栈。
The next example shows a contrived example that defines packages using the nested package syntax in Scala, which is similar to the namespace syntax in C# and the use of modules as namespaces in Ruby.
下面这段虚构的代码展示了如何使用Scala语言的嵌套语法来定义包,这些语法与C#的命名空间语法以及Ruby使用模块作为命名空间的语法很相似。
If the purpose of the nesting is to categorize the nested type, use a namespace to create the hierarchy instead.
如果巢状结构的目的是将巢状型别进行分类,请改用命名空间建立阶层架构。
应用推荐