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