private void ThrowIfConfigNotRegistered(Type type) { if (!collection.Any(reg => reg.ConfigType == type)) { throw new InvalidConfigurationException(type); } }
private void ThrowIfConfigNotRegistered(Type type) { if (!collection.Any(reg => reg.ConfigType == type)) { throw new InvalidConfigurationException(type); } }