예제 #1
0
            public override string ToString()
            {
                var text = (LineBeforeHere != null ? LineBeforeHere.ToString() : "");

                if (text.Length > 10)
                {
                    text = (text.Substring(0, 3) + "..." + text.Substring(text.Length - 6));
                }
                return(String.Format("{0:D3}: {1:F3}; {2}",
                                     LineNumber,
                                     TotalDemerits,
                                     text));
            }
예제 #2
0
 public TLine CreateLine()
 {
     return(LineBeforeHere.Justify(Ratio));
 }