Class AssociationExtensions
Inheritance
System.Object
AssociationExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Network.Extensions
Assembly:EvilDICOM.dll
Syntax
public static class AssociationExtensions
Methods
View SourceGetResponseContexts(Association, IEnumerable<PresentationContext>)
Takes two sets of presentation contexts (typically from a request and a DICOM Service) and creates the agreed presentation context list for the accept response
Declaration
public static List<PresentationContext> GetResponseContexts(this Association asc, IEnumerable<PresentationContext> reqContexts)
Parameters
Type | Name | Description |
---|---|---|
Association | asc | |
System.Collections.Generic.IEnumerable<PresentationContext> | reqContexts |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<PresentationContext> |
SetFinalContexts(Association, Accept)
Declaration
public static void SetFinalContexts(this Association asc, Accept accept)
Parameters
Type | Name | Description |
---|---|---|
Association | asc | |
Accept | accept |