public DcmPresContext(byte pcid, DicomUID abstractSyntax) { _pcid = pcid; _result = DcmPresContextResult.Proposed; _abstract = abstractSyntax; _transfers = new List <DicomTransferSyntax>(); }
internal DcmPresContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result) { _pcid = pcid; _result = result; _abstract = abstractSyntax; _transfers = new List<DicomTransferSyntax>(); _transfers.Add(transferSyntax); }
internal DcmPresContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result) { _pcid = pcid; _result = result; _abstract = abstractSyntax; _transfers = new List <DicomTransferSyntax>(); _transfers.Add(transferSyntax); }
public void SetResult(DcmPresContextResult result, DicomTransferSyntax acceptedTs) { _transfers.Clear(); _transfers.Add(acceptedTs); _result = result; }
public void SetResult(DcmPresContextResult result) { SetResult(result, _transfers[0]); }
public DcmPresContext(byte pcid, DicomUID abstractSyntax) { _pcid = pcid; _result = DcmPresContextResult.Proposed; _abstract = abstractSyntax; _transfers = new List<DicomTransferSyntax>(); }
/// <summary> /// Sets the result of the specified Presentation Context. /// </summary> /// <param name="pcid">Presentation Context ID</param> /// <param name="result">Result</param> public void SetPresentationContextResult(byte pcid, DcmPresContextResult result) { GetPresentationContext(pcid).SetResult(result); }
public void AddPresentationContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result) { _presContexts.Add(pcid, new DcmPresContext(pcid, abstractSyntax, transferSyntax, result)); }