C# Class Stashbox.Registration.SelectionRules.ConditionRule

Inheritance: IRegistrationSelectionRule
Show file Open project: z4kn4fein/stashbox

Public Methods

Method Description
IsValidForCurrentRequest ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool
ShouldIncrementWeight ( TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext ) : bool

Method Details

IsValidForCurrentRequest() public method

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

ShouldIncrementWeight() public method

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