Example #1
0
 private static void WriteTruncated(MarkupStreamWriter writer, StructuredText text, int maxLength)
 {
     if (text.TruncatedWriteTo(writer, maxLength))
     {
         writer.WriteEllipsis();
     }
 }
 private static void WriteTruncated(MarkupStreamWriter writer, StructuredText text, int maxLength)
 {
     if (text.TruncatedWriteTo(writer, maxLength))
         writer.WriteEllipsis();
 }
Example #3
0
 public void TruncatedWriteToThrowsIfWriterIsNull()
 {
     Example.TruncatedWriteTo(null, 0);
 }