private void AppendArgument(StreamWriter Output, int Indentation, string Name, string Value, bool Quotes, char QuoteChar) { this.AppendArgument(Output, Indentation, Name); if (Quotes) { Eval.ExportPlantUml("\"" + Value.Replace("\"", "\\\"") + "\"", Output, Indentation, QuoteChar, false); } else { Eval.ExportPlantUml(Value, Output, Indentation, QuoteChar, false); } }
/// <summary> /// Exports PlantUML /// </summary> /// <param name="Output">Output</param> /// <param name="Indentation">Number of tabs to indent.</param> /// <param name="QuoteChar">Quote character.</param> public override void ExportPlantUml(StreamWriter Output, int Indentation, char QuoteChar) { if (string.IsNullOrEmpty(this.rootName)) { if (this.value is Xml Xml) { this.rootName = Xml.RootName; } else { this.rootName = this.value?.LocalName; } } Eval.ExportPlantUml("Sign(" + this.rootName + ")", Output, Indentation, QuoteChar, false); }