PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/String­Formatter Class

StringFormatter Class

A formatter for String values.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Formatters.Formatter<String>
    PostSharp.Patterns.Formatters.StringFormatter

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public sealed class StringFormatter : Formatter<string>

The StringFormatter type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the formatter attributes.
(Inherited from Formatter<T>.)
Methods
  NameDescription
Public methodWrite(UnsafeStringBuilder, Object)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from Formatter<T>.)
Public methodWrite(UnsafeStringBuilder, String)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Overrides Formatter<T>.Write(UnsafeStringBuilder, T).)
Fields
  NameDescription
Public fieldStatic memberInstance
The singleton instance of StringFormatter.
See Also