Hie.Core.Model.Hl7ToXmlConverter.SetText C# (CSharp) Méthode

SetText() private static méthode

private static SetText ( XmlElement componentEl, string innerText ) : void
componentEl System.Xml.XmlElement
innerText string
Résultat void
		private static void SetText(XmlElement componentEl, string innerText)
		{
			if (string.IsNullOrWhiteSpace(innerText))
			{
				componentEl.SetAttribute("xml:space", "preserve");
			}
			componentEl.InnerText = innerText;
		}