SIL.FieldWorks.Common.Controls.LayoutMerger.CheckForAndReattachLayoutParamSuffix C# (CSharp) Method

CheckForAndReattachLayoutParamSuffix() private method

private CheckForAndReattachLayoutParamSuffix ( XmlNode workingNode ) : void
workingNode System.Xml.XmlNode
return void
		private void CheckForAndReattachLayoutParamSuffix(XmlNode workingNode)
		{
			if (string.IsNullOrEmpty(m_layoutParamAttrSuffix) ||
				string.IsNullOrEmpty(workingNode.GetOptionalStringAttribute(ParamAttr, string.Empty)))
				return; // nothing to do

			var xaParam = workingNode.Attributes[ParamAttr];
			xaParam.Value = xaParam.Value + m_layoutParamAttrSuffix;
		}