C# 클래스 Pchp.Core.Dynamic.OverloadResolver

Methods for selecting best method overload from possible candidates.
파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
IsVisible ( this m, Type classCtx ) : bool

Selects only candidates visible from the current class context.

SelectByName ( this candidates, string name ) : IEnumerable

Selects only candidates of given name.

SelectCandidates ( this type ) : IEnumerable

Selects all method candidates.

SelectStatic ( this candidates ) : IEnumerable

Selects only static methods.

SelectVisible ( this candidates, Type classCtx ) : IEnumerable
SelectVisible ( this methods, Type classCtx ) : System.Reflection.MethodInfo[]

비공개 메소드들

메소드 설명
IsLocalsParameter ( ParameterInfo p ) : bool

Gets value indicating the parameter is a special local parameters parameter.

IsStaticBoundParameter ( ParameterInfo p ) : bool

Gets value indicating the parameter is a special late static bound parameter.

메소드 상세

IsVisible() 공개 정적인 메소드

Selects only candidates visible from the current class context.
public static IsVisible ( this m, Type classCtx ) : bool
m this
classCtx System.Type
리턴 bool

SelectByName() 공개 정적인 메소드

Selects only candidates of given name.
public static SelectByName ( this candidates, string name ) : IEnumerable
candidates this
name string
리턴 IEnumerable

SelectCandidates() 공개 정적인 메소드

Selects all method candidates.
public static SelectCandidates ( this type ) : IEnumerable
type this
리턴 IEnumerable

SelectStatic() 공개 정적인 메소드

Selects only static methods.
public static SelectStatic ( this candidates ) : IEnumerable
candidates this
리턴 IEnumerable

SelectVisible() 공개 정적인 메소드

public static SelectVisible ( this candidates, Type classCtx ) : IEnumerable
candidates this
classCtx System.Type
리턴 IEnumerable

SelectVisible() 공개 정적인 메소드

public static SelectVisible ( this methods, Type classCtx ) : System.Reflection.MethodInfo[]
methods this
classCtx System.Type
리턴 System.Reflection.MethodInfo[]