CSharpUML.UmlAttribute.ToTexCode C# (CSharp) Метод

ToTexCode() публичный Метод

public ToTexCode ( ) : string
Результат string
        public override string ToTexCode()
        {
            List<string> lines = new List<string> ();
            string uml = Publicity.ToCode (@"\keyword{", "} ").Replace ("public ", "")
                + Virtuality.ToCode (@"\keyword{", "} ").Replace ("public ", "")
                + @"\ptype{" + type + @"} \varname{" + name + "}";
            //lines.Add (@"\item[" + uml + @"] \item[]");
            lines.Add (@"{\textbf{" + uml + @"}\newline\newline");
            foreach (string cmt in Comments.GetComments(commentsKey)) {
                if (cmt.StartsWith ("[") && cmt.EndsWith ("]") && cmt.Contains ("="))
                    continue;
                lines.Add (Packages.AddTexCommands (cmt));
            }
            return string.Join ("\n", lines);
        }