DataDictionary.Generated.resolution_formula.unParse C# (CSharp) Method

unParse() public method

This method is used by XMLBooster-generated code internally. Please refrain from using it, as it might produce unexpected results, and might change or even disappear in the future.
public unParse ( TextWriter pw, bool typeId, string headingTag, string endingTag ) : void
pw TextWriter
typeId bool
headingTag string
endingTag string
return void
        public override void unParse(TextWriter pw,
                    bool typeId,
                     string  headingTag,
                     string  endingTag)
        {
            #pragma warning disable 0168, 0219
            int i;
            #pragma warning restore 0168, 0219

            pw.Write("<resolution-formula");
            if (typeId){
            pw.Write(" xsi:type=\"resolution-formula\"");
            } // If
            pw.Write('\n');
            if (this.getUnits() != 0){
            pw.Write(" units=\"");
            acceptor.unParsePcData(pw,
              acceptor.Enum_resolution_formula_units_ToString(this.getUnits()));
            pw.Write('"');
            pw.Write('\n');
            } // If
            pw.Write('>');
            unParseBody(pw);
            pw.Write("</resolution-formula>");
            pw.Write('\n');
        }