Open sandboxFocus

Class StringFormatter

A formatter for string values.

Inheritance
StringFormatter
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class StringFormatter : Formatter<string>, IFormatter<string>, IOptionAwareFormatter, IFormatter

Fields

Name Description
Instance

The singleton instance of StringFormatter.

Methods

Name Description
WithOptions(FormattingOptions)
Write(UnsafeStringBuilder, string)

Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).

Extension Methods