/// <summary>
 /// Initializes a new instance of the <see cref="TrialAddedEventHandler" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="scenarioQueryRepository">The scenario service.</param>
 public TrialAddedEventHandler(ITrialAnalysisRepository repository, IScenarioQueryRepository scenarioQueryRepository, ILogger <TrialAddedEventHandler> logger, IProcedureQueries procedureQuery)
 {
     this._repository = repository;
     this._scenarioQueryRepository = scenarioQueryRepository;
     this._logger         = logger;
     this._procedureQuery = procedureQuery;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScenarioAssetAddedEventHandler" /> class.
 /// </summary>
 /// <param name="scenarioQueryRepository">The scenario query repository.</param>
 public ScenarioAssetAddedEventHandler(IScenarioQueryRepository scenarioQueryRepository, IProcedureQueryRepository procedureQueryRepository)
 {
     this._scenarioQueryRepository  = scenarioQueryRepository;
     this._procedureQueryRepository = procedureQueryRepository;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScenarioQueries"/> class.
 /// </summary>
 /// <param name="scenarioQueryRepository">The scenario query repository.</param>
 public ScenarioQueries(IScenarioQueryRepository scenarioQueryRepository)
 {
     this._scenarioQueryRepository = scenarioQueryRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ScenarioAddedToTrialSetEventHandler"/> class.
 /// </summary>
 /// <param name="scenarioRepository">The scenario repository.</param>
 /// <param name="repository">The repository.</param>
 public ScenarioAddedToTrialSetEventHandler(IScenarioQueryRepository scenarioRepository, ITrialSetQueryRepository repository)
 {
     this._scenarioRepository = scenarioRepository;
     _repository = repository;
 }