Пример #1
0
 private void ThrowIfConfigNotRegistered(Type type)
 {
     if (!collection.Any(reg => reg.ConfigType == type))
     {
         throw new InvalidConfigurationException(type);
     }
 }