コード例 #1
0
 public ResponseService(
     IResponseRepo responseRepo,
     IQuestionRepo questionRepo
     )
 {
     _responseRepo = responseRepo;
     _questionRepo = questionRepo;
 }
コード例 #2
0
 public ResponseInstrumentation(IAppRepo appRepo,
                                IResponseRepo <AppResponseTime> appResponse,
                                IResponseRepo <AppResponseSize> appSize,
                                ILogRepo <ResponseLog> log)
 {
     _appRepo     = appRepo ?? throw new ArgumentNullException(nameof(appRepo));
     _appResponse = appResponse ?? throw new ArgumentNullException(nameof(appResponse));
     _appSize     = appSize ?? throw new ArgumentNullException(nameof(appSize));
     _log         = log ?? throw new ArgumentNullException(nameof(log));
 }
コード例 #3
0
 public TestService(
     ITestRepo testRepo,
     IResponseRepo responseRepo,
     IQuestionRepo questionRepo,
     ITestQuesRepo testQuesRepo
     )
 {
     _testRepo     = testRepo;
     _responseRepo = responseRepo;
     _questionRepo = questionRepo;
     _testQuesRepo = testQuesRepo;
 }
コード例 #4
0
 public SeverityProvider(IResponseRepo response, IClientAddress address)
 {
     _response = response;
     _address  = address;
 }