C# Class Microsoft.Scripting.Actions.Calls.TypeInferer.ArgumentInputs

Maps a single type parameter to the possible parameters and DynamicMetaObjects we can get inference from. For example for the signature: void Foo{T0, T1}(T0 x, T1 y, IList{T1} z); We would have one ArgumentInput for T0 which holds onto the DMO providing the argument value for x. We would also have one ArgumentInput for T1 which holds onto the 2 DMOs for y and z. Associated with y would be a GenericParameterInferer and associated with z would be a ConstructedParameterInferer.
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
AddInput ( DynamicMetaObject value, Type parameterType ) : void
ArgumentInputs ( Type genericParam ) : System
GetBestType ( OverloadResolver resolver, Type>.Dictionary binding, BindingRestrictions>.Dictionary restrictions ) : Type

Method Details

AddInput() public méthode

public AddInput ( DynamicMetaObject value, Type parameterType ) : void
value System.Dynamic.DynamicMetaObject
parameterType System.Type
Résultat void

ArgumentInputs() public méthode

public ArgumentInputs ( Type genericParam ) : System
genericParam System.Type
Résultat System

GetBestType() public méthode

public GetBestType ( OverloadResolver resolver, Type>.Dictionary binding, BindingRestrictions>.Dictionary restrictions ) : Type
resolver OverloadResolver
binding Type>.Dictionary
restrictions BindingRestrictions>.Dictionary
Résultat System.Type