private void SetQualifier(int elementNumber, CommunicationNumberQualifer value) { switch (value) { case CommunicationNumberQualifer.ElectronicMail: this.Segment.SetElement(elementNumber, "EM"); break; case CommunicationNumberQualifer.TelephoneExtension: this.Segment.SetElement(elementNumber, "EX"); break; case CommunicationNumberQualifer.Facsimile: this.Segment.SetElement(elementNumber, "FX"); break; case CommunicationNumberQualifer.Telephone: this.Segment.SetElement(elementNumber, "TE"); break; default: this.Segment.SetElement(elementNumber, string.Empty); break; } }
private void SetQualifier(int elementNumber, CommunicationNumberQualifer value) { switch (value) { case CommunicationNumberQualifer.ElectronicMail: _segment.SetElement(elementNumber, "EM"); break; case CommunicationNumberQualifer.TelephoneExtension: _segment.SetElement(elementNumber, "EX"); break; case CommunicationNumberQualifer.Facsimile: _segment.SetElement(elementNumber, "FX"); break; case CommunicationNumberQualifer.Telephone: _segment.SetElement(elementNumber, "TE"); break; default: _segment.SetElement(elementNumber, ""); break; } }