Beispiel #1
0
 private static IEnumerable <string> GetLines(string description, int firstWidth, int remWidth)
 {
     return(StringCoda.WrappedLines(description, firstWidth, remWidth));
 }
Beispiel #2
0
 private static IEnumerable <string> GetLines(string description)
 {
     return(StringCoda.WrappedLines(description,
                                    80 - OptionWidth,
                                    80 - OptionWidth - 2));
 }
Beispiel #3
0
        public static IEnumerable <string> WrappedLines(string self, params int[] widths)
        {
            IEnumerable <int> widths1 = (IEnumerable <int>)widths;

            return(StringCoda.WrappedLines(self, widths1));
        }