Method | Description | |
---|---|---|
DeleteValue ( string name, bool ignoreCase ) : bool |
Deletes the named value from the scope optionally ignoring the case.
|
|
GetItems ( ) : dynamic>>.IList |
Returns all of the member names and their associated values from the scope. The list contains all available casings.
|
|
GetMemberNames ( ) : IList |
Returns all of the member names which currently have values in the scope. The list contains all available casings.
|
|
GetMetaObject ( Expression parameter ) : DynamicMetaObject | ||
GetScopeVariable ( string name, bool ignoreCase ) : IScopeVariable |
Gets the IScopeVariable for the scope optionally ignoring case. The IScopeVariable can be held onto and get/set/deleted without performing a dictionary lookup on subsequent accesses.
|
|
GetScopeVariable ( string name ) : |
Gets the ScopeVariable for the scope in a case-sensitive manner. The ScopeVariable can be held onto and get/set/deleted without performing a dictionary lookup on subsequent accesses.
|
|
GetScopeVariableIgnoreCase ( string name ) : |
Gets the ScopeVariableIgnoreCase for the scope in a case-insensitive manner. The ScopeVariable can be held onto and get/set/deleted without performing a dictionary lookup on subsequent accesses.
|
|
GetValue ( string name, bool ignoreCase ) : |
Gets the named value from the scope optionally ignoring case. If the named value is not present an InvalidOperationException is raised.
|
|
HasValue ( string name, bool ignoreCase ) : bool |
Checks if the named value is present in the scope optionally ignoring the case.
|
|
SetValue ( string name, bool ignoreCase, object value ) : void |
Sets the named value in the scope optionally ignoring the case.
|
|
TryGetValue ( string name, bool ignoreCase, |
Attempts to get the named value from the scope optionally ignoring the case. Returns true if the value is present, false if it is not.
|
|
this ( string index ) : |
Provides convenient case-sensitive value access.
|
Method | Description | |
---|---|---|
HasVariable ( string name ) : bool |
public DeleteValue ( string name, bool ignoreCase ) : bool | ||
name | string | |
ignoreCase | bool | |
return | bool |
public GetMetaObject ( Expression parameter ) : DynamicMetaObject | ||
parameter | Expression | |
return | DynamicMetaObject |
public GetScopeVariable ( string name, bool ignoreCase ) : IScopeVariable | ||
name | string | |
ignoreCase | bool | |
return | IScopeVariable |
public GetScopeVariable ( string name ) : |
||
name | string | |
return |
public GetScopeVariableIgnoreCase ( string name ) : |
||
name | string | |
return |
public GetValue ( string name, bool ignoreCase ) : |
||
name | string | |
ignoreCase | bool | |
return |
public HasValue ( string name, bool ignoreCase ) : bool | ||
name | string | |
ignoreCase | bool | |
return | bool |
public SetValue ( string name, bool ignoreCase, object value ) : void | ||
name | string | |
ignoreCase | bool | |
value | object | |
return | void |
public TryGetValue ( string name, bool ignoreCase, |
||
name | string | |
ignoreCase | bool | |
value | ||
return | bool |