public MessageService(IProtectionRepository _protectionRepository, ICacheRepository _cacheRepository)
 {
     protectionRepository = _protectionRepository;
     cacheRepository      = _cacheRepository;
 }
Пример #2
0
 public XmlRepository(IProtectionRepository repository)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
 }