PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersString­Formatter
Open sandboxFocus

StringFormatter Class

A formatter for System.String values.

Inheritance
Formatter<System.String>
StringFormatter
Implements
IFormatter<System.String>
IOptionAwareFormatter
IFormatter
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).