block scope 块级作用域 ; 代码块作用域
And this is why Scope implements IDisposable: Scope will be used in a using block, such that the constructor publishes the instance and the Dispose method revokes it.
这也是Scope实现IDisposable的原因:Scope将用于using块中,以便构造函数发布实例以及Dispose方法撤销该实例。
The nicest thing about categories is the inherent scope limiting of the lexical block.
categories的好处是固有的词典块范围限制。
Within the scope of the with_interface block, the radius method defined with that interface name exists and can be called.
在with _ interface代码块的作用域中,可以调用使用该接口名定义的radius方法。
应用推荐