Method | Description | |
---|---|---|
GetVariable ( |
Manually requests an unused variable from the pending pool or creates a new variable.
|
|
LocalExpressionVariableManager ( ) : System |
Manages the lifetimes and reuse of parameter expressions which are used as local variables.
|
|
ReleaseVariable ( System.Linq.Expressions.ParameterExpression variable ) : bool |
Manually releases a variable that is currently in use so it can be demoted to the pending variable pool.
|
|
ReleaseVariables ( IEnumerable |
Manually releases multiple variables that are currently in use to they can be demoted to the pending variable pool.
|
|
Use ( |
Creates a new expression variable or reuses an unused expression variable.
|
Method | Description | |
---|---|---|
CodeContractInvariants ( ) : void | ||
GetNewVariableName ( ) : string | ||
GetNewVariableNumber ( ) : int | ||
RemoveFirstPending ( |
public GetVariable ( |
||
type | The type of the variable to create. | |
return | System.Linq.Expressions.ParameterExpression |
public LocalExpressionVariableManager ( ) : System | ||
return | System |
public ReleaseVariable ( System.Linq.Expressions.ParameterExpression variable ) : bool | ||
variable | System.Linq.Expressions.ParameterExpression | The variable to manually release. |
return | bool |
public ReleaseVariables ( IEnumerable |
||
variables | IEnumerable |
The variables to manually release. |
return | bool |
public Use ( |
||
type | The type of the variable to create or reuse. | |
return | VariableUsage |