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