/// <summary> /// Constructor for the DICOM SCP. /// </summary> /// <remarks> /// <para> /// The constructor allows the user to pass an object to plugins that implement the /// <see cref="IDicomScp{TContext}"/> interface. /// </para> /// </remarks> /// <param name="context">An object to be passed to plugins implementing the <see cref="IDicomScp{TContext}"/> interface.</param> /// <param name="verifier">Delegate called when a new association arrives to verify if it should be accepted or rejected. Can be set to null.</param> /// <param name="complete">Delegate called when the association is complete/released relaying storage instance information. Typically used for audit log purposes.</param> public DicomScp(TContext context, AssociationVerifyCallback verifier, AssociationComplete complete) { _context = context; _verifier = verifier; _complete = complete; }
/// <summary> /// Constructor for the DICOM SCP. /// </summary> /// <remarks> /// <para> /// The constructor allows the user to pass an object to plugins that implement the /// <see cref="IDicomScp{TContext}"/> interface. /// </para> /// </remarks> /// <param name="context">An object to be passed to plugins implementing the <see cref="IDicomScp{TContext}"/> interface.</param> /// <param name="verifier">Delegate called when a new association arrives to verify if it should be accepted or rejected. Can be set to null.</param> public DicomScp(TContext context, AssociationVerifyCallback verifier) { _context = context; _verifier = verifier; }