private bool HasConfigurationBrachyPlans(ICatheterOverloadingParameters configuration) { bool isPatienPlanBrachy = DicomServices.IsBrachyPlan(configuration.PatientPlan); bool isVerificationPlanBrachy = DicomServices.IsBrachyPlan(configuration.VerificationPlan); return(isPatienPlanBrachy && isVerificationPlanBrachy); }
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)); }
public NullCatheterOverloader(ICatheterOverloadingParameters configuration, IDicomServices dicomServices, ICatheterBlockService catheterBlockService) : base(configuration, dicomServices, catheterBlockService) { }
public OncentraProstateCatheterOverloader(ICatheterOverloadingParameters configuration, IDicomServices dicomServices, ICatheterBlockService catheterBlockService) : base(configuration, dicomServices, catheterBlockService) { }