Пример #1
0
 public NotifyService(IOptions <AppSettings> settings)
 {
     _system = new DictionaryItemDTO()
     {
         Code = settings.Value.NotifyName
     };
     _hash = "123";
 }
Пример #2
0
 public NotifyService(Logger log, string notifyName)
 {
     _log    = log;
     _system = new DictionaryItemDTO()
     {
         Code = notifyName,
         Name = notifyName
     };
     _hash = "xxx";
 }