protected CatheterOverloaderBase(ICatheterOverloadingParameters configuration,
                                         IDicomServices dicomServices,
                                         ICatheterBlockService catheterBlockService)
        {
            AreResultsValid = false;

            DicomServices        = dicomServices ?? throw  new ArgumentException(nameof(dicomServices));
            CatheterBlockService = catheterBlockService ?? throw new ArgumentException(nameof(catheterBlockService));

            _configuration = configuration ?? throw new ArgumentException(nameof(configuration));
            _patientPlan   = _configuration.PatientPlan ??
                             throw new ArgumentException(nameof(_configuration.PatientPlan));
            _verificationPlan = _configuration.VerificationPlan ??
                                throw new ArgumentException(nameof(_configuration.VerificationPlan));
        }
示例#2
0
 public NullCatheterOverloader(ICatheterOverloadingParameters configuration, IDicomServices dicomServices, ICatheterBlockService catheterBlockService) : base(configuration, dicomServices, catheterBlockService)
 {
 }
示例#3
0
 public OncentraProstateCatheterOverloader(ICatheterOverloadingParameters configuration, IDicomServices dicomServices, ICatheterBlockService catheterBlockService) : base(configuration, dicomServices, catheterBlockService)
 {
 }
示例#4
0
 public CatheterOverloadingParametersAdapter(IInputParameters input,
                                             IDicomServices dicomServices)
 {
     Input         = input ?? throw new ArgumentException("IInputParameters cannot be null");
     DicomServices = dicomServices ?? throw new ArgumentNullException(nameof(dicomServices));
 }