/// <summary> /// Creates the CtReconstructionSequence in the underlying collection. Type 1. /// </summary> public CtReconstructionSequenceItem CreateCtReconstructionSequence() { var dicomAttribute = DicomAttributeProvider[DicomTags.CtReconstructionSequence]; if (dicomAttribute.IsNull || dicomAttribute.IsEmpty) { var dicomSequenceItem = new DicomSequenceItem(); dicomAttribute.Values = new[] { dicomSequenceItem }; var sequenceType = new CtReconstructionSequenceItem(dicomSequenceItem); return(sequenceType); } return(new CtReconstructionSequenceItem(((DicomSequenceItem[])dicomAttribute.Values)[0])); }
/// <summary> /// Creates the CtReconstructionSequence in the underlying collection. Type 1. /// </summary> public CtReconstructionSequenceItem CreateCtReconstructionSequence() { var dicomAttribute = DicomAttributeProvider[DicomTags.CtReconstructionSequence]; if (dicomAttribute.IsNull || dicomAttribute.IsEmpty) { var dicomSequenceItem = new DicomSequenceItem(); dicomAttribute.Values = new[] {dicomSequenceItem}; var sequenceType = new CtReconstructionSequenceItem(dicomSequenceItem); return sequenceType; } return new CtReconstructionSequenceItem(((DicomSequenceItem[]) dicomAttribute.Values)[0]); }