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.
파일 보기 프로젝트 열기: jschementi/iron

공개 메소드들

메소드 설명
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