C# (CSharp) Microsoft.Scripting.Runtime Scope - 31 exemples trouvés. Ce sont les exemples réels les mieux notés de Microsoft.Scripting.Runtime.Scope extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Represents a context of execution. A context of execution has a set of variables associated with it (its dictionary) and a parent context. When looking up a name from a context first the local context is searched. If the name is not found there the name lookup will be done against the parent context. Scopes, like IAttrbibuteCollections, support both being indexed by SymbolId for fast access as well as being indexed by object. The preferred access is via SymbolId and object access is provided for languages which require additional semantics. All features supported for feature IDs are also supported for objects (e.g. context-sentsitivity and attributes) but the object API does not contain all the same sets of overloads provided for convenience. TODO: Thread safety