C# 클래스 Microsoft.Scripting.Actions.MemberTracker.MemberKey

We ensure we only produce one MemberTracker for each member which logically lives on the declaring type. So for example if you get a member from a derived class which is declared on the base class it should be the same as getting the member from the base class. That’s easy enough until you get into extension members – here there might be one extension member which is being applied to multiple types. Therefore we need to take into account the extension type when ensuring that we only have 1 MemberTracker ever created.
파일 보기 프로젝트 열기: jschementi/iron

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
MemberKey ( MemberInfo member, Type extending ) : System

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

MemberKey() 공개 메소드

public MemberKey ( MemberInfo member, Type extending ) : System
member MemberInfo
extending Type
리턴 System