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

Builds the parameter for a params dictionary argument - this collects all the extra name/value pairs provided to the function into a SymbolDictionary which is passed to the function.
Inheritance: ArgBuilder
Exibir arquivo Open project: jschementi/iron

Public Methods

Method Description
ParamsDictArgBuilder ( ParameterInfo info, int argIndex, string names, int nameIndexes ) : System.Linq.Expressions

Protected Methods

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

Private Methods

Method Description
BadDictionaryType ( Type dictType ) : InvalidOperationException
ConstantNames ( ) : System.Linq.Expressions.Expression[]
GetCreationDelegate ( Type dictType ) : Func
GetParameters ( Microsoft.Scripting.Actions.Calls.RestrictedArguments args, bool hasBeenUsed ) : List
GetParameters ( bool hasBeenUsed ) : int[]

Method Details

ParamsDictArgBuilder() public method

public ParamsDictArgBuilder ( ParameterInfo info, int argIndex, string names, int nameIndexes ) : System.Linq.Expressions
info System.Reflection.ParameterInfo
argIndex int
names string
nameIndexes int
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 System.Linq.Expressions.Expression