Class DicomExtendedNegotiationCollection
Inherited Members
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public class DicomExtendedNegotiationCollection : ICollection<DicomExtendedNegotiation>, IEnumerable<DicomExtendedNegotiation>, IEnumerable
Constructors
DicomExtendedNegotiationCollection()
Initializes a new instance of DicomExtendedNegotiationCollection.
Declaration
public DicomExtendedNegotiationCollection()
Properties
Count
Gets the number of extended negotiations in collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsReadOnly
Gets whether collection is read-only. Is always
false
.
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[DicomUID]
Gets the Extended negotiation associated with id
.
Declaration
public DicomExtendedNegotiation this[DicomUID id] { get; }
Parameters
Type | Name | Description |
---|---|---|
DicomUID | id | SOP Class UID. |
Property Value
Type | Description |
---|---|
DicomExtendedNegotiation | Extended negotiation associated with |
Methods
AcceptApplicationInfo(DicomUID, DicomServiceApplicationInfo)
Accept Extended Negotiation with Service Class Application Info from the SCP.
Declaration
public void AcceptApplicationInfo(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomServiceApplicationInfo | applicationInfo | Service Class Application Info. |
Add(DicomUID, DicomUID, DicomUID[])
Add Common Extended Negotiation with Service Class UID and Related General SOP Class UIDs
Declaration
public void Add(DicomUID sopClassUid, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomUID | serviceClassUid | Common Service Class UID. |
DicomUID[] | relatedGeneralSopClasses | Related General SOP Classes. |
Add(DicomUID, DicomServiceApplicationInfo)
Add Extended Negotiation with Service Class Application Info
Declaration
public void Add(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomServiceApplicationInfo | applicationInfo | Service Class Application Info. |
Add(DicomUID, DicomServiceApplicationInfo, DicomUID, DicomUID[])
Add (Common) Extended Negotiation with Application Info, Service Class UID and Related General SOP Class UIDs
Declaration
public void Add(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomServiceApplicationInfo | applicationInfo | Service Class Application Info. |
DicomUID | serviceClassUid | Common Service Class UID. |
DicomUID[] | relatedGeneralSopClasses | Related General SOP Classes. |
Add(DicomExtendedNegotiation)
Add new extended negotiation object.
Declaration
public void Add(DicomExtendedNegotiation item)
Parameters
Type | Name | Description |
---|---|---|
DicomExtendedNegotiation | item | 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.
Declaration
public void AddFromRequest(DicomRequest dicomRequest)
Parameters
Type | Name | Description |
---|---|---|
DicomRequest | dicomRequest | Request from which extended negotiation info should be obtained. |
AddOrUpdate(DicomUID, DicomUID, DicomUID[])
Add or update Common Extended Negotiation with Service Class UID and Related General SOP Class UIDs.
Declaration
public void AddOrUpdate(DicomUID sopClassUid, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomUID | serviceClassUid | Common Service Class UID. |
DicomUID[] | relatedGeneralSopClasses | Related General SOP Classes. |
AddOrUpdate(DicomUID, DicomServiceApplicationInfo)
Add or update Extended Negotiation with Service Class Application Info.
Declaration
public void AddOrUpdate(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomServiceApplicationInfo | applicationInfo | Service Class Application Info. |
AddOrUpdate(DicomUID, DicomServiceApplicationInfo, DicomUID, DicomUID[])
Add or update (Common) Extended Negotiation with Application Info, Service Class UID and Related General SOP Class UIDs
Declaration
public void AddOrUpdate(DicomUID sopClassUid, DicomServiceApplicationInfo applicationInfo, DicomUID serviceClassUid, params DicomUID[] relatedGeneralSopClasses)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | sopClassUid | SOP Class UID. |
DicomServiceApplicationInfo | applicationInfo | Service Class Application Info. |
DicomUID | serviceClassUid | Common Service Class UID. |
DicomUID[] | relatedGeneralSopClasses | Related General SOP Classes. |
Clear()
Clear all extended negotiations in collection.
Declaration
public void Clear()
Contains(DicomUID)
Indicates if specified uid is contained in collection
Declaration
public bool Contains(DicomUID item)
Parameters
Type | Name | Description |
---|---|---|
DicomUID | item | SOP Class UID to search for. |
Returns
Type | Description |
---|---|
Boolean | if item is contained in collection, otherwise.
|
Contains(DicomExtendedNegotiation)
Indicates if specified extended negotiation is contained in collection.
Declaration
public bool Contains(DicomExtendedNegotiation item)
Parameters
Type | Name | Description |
---|---|---|
DicomExtendedNegotiation | item | Extended negotiation to search for. |
Returns
Type | Description |
---|---|
Boolean | if item is contained in collection, otherwise.
|
CopyTo(DicomExtendedNegotiation[], Int32)
Not implemented.
Declaration
public void CopyTo(DicomExtendedNegotiation[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
DicomExtendedNegotiation[] | array | Array of extended negotiations |
Int32 | arrayIndex | The zero-based index in |
Exceptions
Type | Condition |
---|---|
NotSupportedException |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<DicomExtendedNegotiation> GetEnumerator()
Returns
Type | Description |
---|---|
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.
Declaration
public bool Remove(DicomExtendedNegotiation item)
Parameters
Type | Name | Description |
---|---|---|
DicomExtendedNegotiation | item | Extended Negotiation with same SOP Class to be removed. |
Returns
Type | Description |
---|---|
Boolean | when item is removed from collection, otherwise.
|