C# 클래스 Stashbox.Registration.SelectionRules.ConditionRule

상속: IRegistrationSelectionRule
파일 보기 프로젝트 열기: z4kn4fein/stashbox

공개 메소드들

메소드 설명
IsValidForCurrentRequest ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool
ShouldIncrementWeight ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool

메소드 상세

IsValidForCurrentRequest() 공개 메소드

public IsValidForCurrentRequest ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool
typeInformation TypeInformation
registration ServiceRegistration
resolutionContext ResolutionContext
리턴 bool

ShouldIncrementWeight() 공개 메소드

public ShouldIncrementWeight ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool
typeInformation TypeInformation
registration ServiceRegistration
resolutionContext ResolutionContext
리턴 bool