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