Ejemplo n.º 1
0
 public ConfigLoader(FileSettings fileSettings, IConfigLoadLogger logger)
 {
     _fileSettings          = fileSettings;
     _logger                = logger;
     _serializationSettings = new JsonSerializerSettings
     {
         ObjectCreationHandling = ObjectCreationHandling.Replace,
         Converters             = new List <JsonConverter>
         {
             new AlertingGroupConverter(_logger),
             new AlarmValuesConverter()
         }
     };
 }
Ejemplo n.º 2
0
 public AlertingGroupConverter(IConfigLoadLogger logger)
 {
     _logger = logger;
 }