C# (CSharp) Appccelerate.Formatters Namespace

Сlasses

Name Description
FormatHelper Provides functionality for formatting strings.
StringTruncationFormatter Allows to define the maximal length of an string. A string longer than the given value will be truncated. Use: Format("{0,-5:L5}", "123456") -> "12345" Use: Format("{0,5:L5}", "123") -> " 123" Use: Format("{0,-5:L10}", "1234567890123") -> "1234567890"
StringTruncationFormatterTest
StringTruncationFormatterTest.TestClassFormattable
StringTruncationFormatterTest.TestClassNotFormattable