DecoratorRule class DecoratorRule : IRegistrationSelectionRule Documentation Code public DecoratorRule() public bool IsValidForCurrentRequest(TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext, out bool shouldIncrementWeight)