Show / Hide Table of Contents
View Source

Class IDICOMElementExtensions

Adds useful methods to the IDICOMElement interface

Inheritance
System.Object
IDICOMElementExtensions
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.Core.Extensions
Assembly:EvilDICOM.dll
Syntax
public static class IDICOMElementExtensions

Methods

View Source

IsVR(IDICOMElement, VR)

Checks to see if a certain IDICOMElement is of a given VR type

Declaration
public static bool IsVR(this IDICOMElement elem, VR vr)
Parameters
Type Name Description
IDICOMElement elem

the DICOM element in question

VR vr

the VR type to test the DICOM element

Returns
Type Description
System.Boolean

a boolean indicating whether or not the DICOM element is of a given VR type

View Source

ToXElement(IDICOMElement)

Declaration
public static XElement ToXElement(this IDICOMElement el)
Parameters
Type Name Description
IDICOMElement el
Returns
Type Description
System.Xml.Linq.XElement
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX