Table of Contents

Class DicomExtendedNegotiationCollection

Namespace
FellowOakDicom.Network
Assembly
fo-dicom.core.dll
public class DicomExtendedNegotiationCollection : ICollection<DicomExtendedNegotiation>, IEnumerable<DicomExtendedNegotiation>, IEnumerable
Inheritance
DicomExtendedNegotiationCollection
Implements
Inherited Members
Extension Methods

Constructors

DicomExtendedNegotiationCollection()

Initializes a new instance of DicomExtendedNegotiationCollection.

public DicomExtendedNegotiationCollection()

Properties

Count

Gets the number of extended negotiations in collection.

public int Count { get; }

Property Value

int

IsReadOnly

Gets whether collection is read-only. Is always

false
.
public bool IsReadOnly { get; }

Property Value

bool

this[DicomUID]

Gets the Extended negotiation associated with id.

public DicomExtendedNegotiation this[DicomUID id] { get; }

Parameters

id DicomUID

SOP Class UID.

Property Value

DicomExtendedNegotiation

Extended negotiation associated with id

Methods

AcceptApplicationInfo(DicomUID, DicomServiceApplicationInfo)

Accept Extended Negotiation with Service Class Application Info from the SCP.

public void AcceptApplicationInfo(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)

Parameters

sopClassUid DicomUID

SOP Class UID.

applicationInfo DicomServiceApplicationInfo

Service Class Application Info.

Add(DicomUID, DicomUID, params DicomUID[])

Add Common Extended Negotiation with Service Class UID and Related General SOP Class UIDs

public void Add(DicomUID sopClassUid, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)

Parameters

sopClassUid DicomUID

SOP Class UID.

serviceClassUid DicomUID

Common Service Class UID.

relatedGeneralSopClasses DicomUID[]

Related General SOP Classes.

Add(DicomUID, DicomServiceApplicationInfo)

Add Extended Negotiation with Service Class Application Info

public void Add(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)

Parameters

sopClassUid DicomUID

SOP Class UID.

applicationInfo DicomServiceApplicationInfo

Service Class Application Info.

Add(DicomUID, DicomServiceApplicationInfo, DicomUID, params DicomUID[])

Add (Common) Extended Negotiation with Application Info, Service Class UID and Related General SOP Class UIDs

public void Add(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)

Parameters

sopClassUid DicomUID

SOP Class UID.

applicationInfo DicomServiceApplicationInfo

Service Class Application Info.

serviceClassUid DicomUID

Common Service Class UID.

relatedGeneralSopClasses DicomUID[]

Related General SOP Classes.

Add(DicomExtendedNegotiation)

Add new extended negotiation object.

public void Add(DicomExtendedNegotiation item)

Parameters

item DicomExtendedNegotiation

Extended negotiation to be added.

AddFromRequest(DicomRequest)

Add Extended Negotiation obtained from DICOM request. Note: The extended negotiation will affect all requests that share the same SOP class within an association.

public void AddFromRequest(DicomRequest dicomRequest)

Parameters

dicomRequest DicomRequest

Request from which extended negotiation info should be obtained.

AddOrUpdate(DicomUID, DicomUID, params DicomUID[])

Add or update Common Extended Negotiation with Service Class UID and Related General SOP Class UIDs.

public void AddOrUpdate(DicomUID sopClassUid, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)

Parameters

sopClassUid DicomUID

SOP Class UID.

serviceClassUid DicomUID

Common Service Class UID.

relatedGeneralSopClasses DicomUID[]

Related General SOP Classes.

AddOrUpdate(DicomUID, DicomServiceApplicationInfo)

Add or update Extended Negotiation with Service Class Application Info.

public void AddOrUpdate(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)

Parameters

sopClassUid DicomUID

SOP Class UID.

applicationInfo DicomServiceApplicationInfo

Service Class Application Info.

AddOrUpdate(DicomUID, DicomServiceApplicationInfo, DicomUID, params DicomUID[])

Add or update (Common) Extended Negotiation with Application Info, Service Class UID and Related General SOP Class UIDs

public void AddOrUpdate(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)

Parameters

sopClassUid DicomUID

SOP Class UID.

applicationInfo DicomServiceApplicationInfo

Service Class Application Info.

serviceClassUid DicomUID

Common Service Class UID.

relatedGeneralSopClasses DicomUID[]

Related General SOP Classes.

Clear()

Clear all extended negotiations in collection.

public void Clear()

Contains(DicomUID)

Indicates if specified uid is contained in collection

public bool Contains(DicomUID item)

Parameters

item DicomUID

SOP Class UID to search for.

Returns

bool
true
if item is contained in collection,
false
otherwise.

Contains(DicomExtendedNegotiation)

Indicates if specified extended negotiation is contained in collection.

public bool Contains(DicomExtendedNegotiation item)

Parameters

item DicomExtendedNegotiation

Extended negotiation to search for.

Returns

bool
true
if item is contained in collection,
false
otherwise.

CopyTo(DicomExtendedNegotiation[], int)

Not implemented.

public void CopyTo(DicomExtendedNegotiation[] array, int arrayIndex)

Parameters

array DicomExtendedNegotiation[]

Array of extended negotiations

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

NotSupportedException

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<DicomExtendedNegotiation> GetEnumerator()

Returns

IEnumerator<DicomExtendedNegotiation>

A IEnumerator<T> that can be used to iterate through the collection.

Remove(DicomExtendedNegotiation)

Removes the Extended Negotiation with same SOP Class if it exists.

public bool Remove(DicomExtendedNegotiation item)

Parameters

item DicomExtendedNegotiation

Extended Negotiation with same SOP Class to be removed.

Returns

bool
true
when item is removed from collection,
false
otherwise.