コード例 #1
0
 public MessageService(IProtectionRepository _protectionRepository, ICacheRepository _cacheRepository)
 {
     protectionRepository = _protectionRepository;
     cacheRepository      = _cacheRepository;
 }
コード例 #2
0
ファイル: XmlRepository.cs プロジェクト: miladsoft/ForexTools
 public XmlRepository(IProtectionRepository repository)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
 }