C# Class Microsoft.Scripting.Actions.Calls.SimpleArgBuilder

SimpleArgBuilder produces the value produced by the user as the argument value. It also tracks information about the original parameter and is used to create extended methods for params arrays and param dictionary functions.
Inheritance: ArgBuilder
Exibir arquivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
Clone ( ParameterInfo newType ) : ArgBuilder
SimpleArgBuilder ( ParameterInfo info, Type parameterType, int index, bool isParams, bool isParamsDict ) : System.Linq.Expressions
SimpleArgBuilder ( Type parameterType, int index, bool isParams, bool isParamsDict ) : System.Linq.Expressions

Parameter info is not available for this argument.

Protected Methods

Method Description
Copy ( int newIndex ) : SimpleArgBuilder
ToExpression ( OverloadResolver resolver, Microsoft.Scripting.Actions.Calls.RestrictedArguments args, bool hasBeenUsed ) : Expression

Private Methods

Method Description
MakeCopy ( int newIndex ) : SimpleArgBuilder
SimpleArgBuilder ( ParameterInfo info, int index ) : System.Linq.Expressions

Method Details

Clone() public method

public Clone ( ParameterInfo newType ) : ArgBuilder
newType System.Reflection.ParameterInfo
return ArgBuilder

Copy() protected method

protected Copy ( int newIndex ) : SimpleArgBuilder
newIndex int
return SimpleArgBuilder

SimpleArgBuilder() public method

public SimpleArgBuilder ( ParameterInfo info, Type parameterType, int index, bool isParams, bool isParamsDict ) : System.Linq.Expressions
info System.Reflection.ParameterInfo
parameterType System.Type
index int
isParams bool
isParamsDict bool
return System.Linq.Expressions

SimpleArgBuilder() public method

Parameter info is not available for this argument.
public SimpleArgBuilder ( Type parameterType, int index, bool isParams, bool isParamsDict ) : System.Linq.Expressions
parameterType System.Type
index int
isParams bool
isParamsDict bool
return System.Linq.Expressions

ToExpression() protected method

protected ToExpression ( OverloadResolver resolver, Microsoft.Scripting.Actions.Calls.RestrictedArguments args, bool hasBeenUsed ) : Expression
resolver OverloadResolver
args Microsoft.Scripting.Actions.Calls.RestrictedArguments
hasBeenUsed bool
return Expression