Méthode | Description | |
---|---|---|
GetExtension ( ContextId languageContextId ) : Microsoft.Scripting.Runtime.ScopeExtension |
Gets the ScopeExtension associated with the provided ContextId.
|
|
Scope ( ) : System.Linq.Expressions |
Creates a new scope with a new empty thread-safe dictionary.
|
|
Scope ( object>.IDictionary |
||
Scope ( IDynamicMetaObjectProvider storage ) : System.Linq.Expressions |
Creates a new scope which is backed by an arbitrary object for it's storage.
|
|
SetExtension ( ContextId languageContextId, Microsoft.Scripting.Runtime.ScopeExtension extension ) : Microsoft.Scripting.Runtime.ScopeExtension |
Sets the ScopeExtension to the provided value for the given ContextId. The extension can only be set once. The returned value is either the new ScopeExtension if no value was previously set or the previous value.
|
Méthode | Description | |
---|---|---|
IDynamicMetaObjectProvider ( |
public GetExtension ( ContextId languageContextId ) : Microsoft.Scripting.Runtime.ScopeExtension | ||
languageContextId | ContextId | |
Résultat | Microsoft.Scripting.Runtime.ScopeExtension |
public Scope ( object>.IDictionary |
||
dictionary | object>.IDictionary | |
Résultat | System.Linq.Expressions |
public Scope ( IDynamicMetaObjectProvider storage ) : System.Linq.Expressions | ||
storage | IDynamicMetaObjectProvider | |
Résultat | System.Linq.Expressions |
public SetExtension ( ContextId languageContextId, Microsoft.Scripting.Runtime.ScopeExtension extension ) : Microsoft.Scripting.Runtime.ScopeExtension | ||
languageContextId | ContextId | |
extension | Microsoft.Scripting.Runtime.ScopeExtension | |
Résultat | Microsoft.Scripting.Runtime.ScopeExtension |