/// <summary> /// Creates a single instance of a ReferencedSeriesSequence item. Does not modify the ReferencedSeriesSequence in the underlying collection. /// </summary> public IHierarchicalSeriesInstanceReferenceMacro CreateReferencedSeriesSequence() { IHierarchicalSeriesInstanceReferenceMacro iodBase = new HierarchicalSeriesInstanceReferenceMacro(new DicomSequenceItem()); iodBase.InitializeAttributes(); return iodBase; }
/// <summary> /// Creates and initializes a <see cref="IHierarchicalSeriesInstanceReferenceMacro"/> to the given series instance. /// </summary> /// <param name="seriesInstanceUid">The series instance UID.</param> protected virtual IHierarchicalSeriesInstanceReferenceMacro CreateSeriesReference(string seriesInstanceUid) { IHierarchicalSeriesInstanceReferenceMacro reference = new HierarchicalSeriesInstanceReferenceMacro(new DicomSequenceItem()); reference.InitializeAttributes(); reference.SeriesInstanceUid = seriesInstanceUid; return reference; }