C# Class SIL.FieldWorks.Common.Controls.PartGenerator.ReplaceAttrAndAppend

In addition to replacing an old attribute value, appends a new attribute after the one where the replacement occurs. Call DoTheAppends after running VisitAttributes.
Inheritance: SIL.Utils.ReplaceSubstringInAttr
Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
Visit ( XmlAttribute xa ) : bool

Private Methods

Method Description
DoTheAppends ( ) : void
ReplaceAttrAndAppend ( string pattern, string replacement, string newAttrName, string newAttrVal ) : System

Method Details

Visit() public method

public Visit ( XmlAttribute xa ) : bool
xa System.Xml.XmlAttribute
return bool