Class AnonymizationQueue
This class is for building a stack of anonymization options and then executing
Inheritance
System.Object
AnonymizationQueue
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.Anonymization
Assembly:EvilDICOM.dll
Syntax
public class AnonymizationQueue
Constructors
View SourceAnonymizationQueue()
Declaration
public AnonymizationQueue()
Properties
View SourceQueue
The current list of anonymization settings
Declaration
public List<IAnonymizer> Queue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<IAnonymizer> |
Methods
View SourceAnonymize(DICOMObject)
This method needs to be called on each DICOM object (file) to be anonymized with the set options
Declaration
public void Anonymize(DICOMObject dcm)
Parameters
| Type | Name | Description |
|---|---|---|
| DICOMObject | dcm | the DICOM object (file) to be anonymized |
BuildQueue(AnonymizationSettings, IEnumerable<String>)
Declaration
public static AnonymizationQueue BuildQueue(AnonymizationSettings settings, IEnumerable<string> dcmFiles)
Parameters
| Type | Name | Description |
|---|---|---|
| AnonymizationSettings | settings | |
| System.Collections.Generic.IEnumerable<System.String> | dcmFiles |
Returns
| Type | Description |
|---|---|
| AnonymizationQueue |
Default(IEnumerable<String>)
Initializes an anonymization queue from a list of DICOM files that need to be anonymized
Declaration
public AnonymizationQueue Default(IEnumerable<string> dcmFiles)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | dcmFiles |
Returns
| Type | Description |
|---|---|
| AnonymizationQueue | the anonymization queue with default options |
RaiseProgressUpdated(Double)
Declaration
public void RaiseProgressUpdated(double progress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | progress |
Events
View SourceProgressUpdated
Reports a double value of the current progress from 0 to 100
Declaration
public event AnonymizationQueue.ProgressUpdatedHandler ProgressUpdated
Event Type
| Type | Description |
|---|---|
| AnonymizationQueue.ProgressUpdatedHandler |