C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
AddInput ( DynamicMetaObject value, Type parameterType ) : void
ArgumentInputs ( Type genericParam ) : System
GetBestType ( OverloadResolver resolver, Type>.Dictionary binding, BindingRestrictions>.Dictionary restrictions ) : Type

Описание методов

AddInput() публичный Метод

public AddInput ( DynamicMetaObject value, Type parameterType ) : void
value System.Dynamic.DynamicMetaObject
parameterType System.Type
Результат void

ArgumentInputs() публичный Метод

public ArgumentInputs ( Type genericParam ) : System
genericParam System.Type
Результат System

GetBestType() публичный Метод

public GetBestType ( OverloadResolver resolver, Type>.Dictionary binding, BindingRestrictions>.Dictionary restrictions ) : Type
resolver OverloadResolver
binding Type>.Dictionary
restrictions BindingRestrictions>.Dictionary
Результат System.Type