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

BooleanFormatter Class

A formatter for Boolean values.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Formatters.Formatter<Boolean>
    PostSharp.Patterns.Formatters.BooleanFormatter

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 BooleanFormatter : Formatter<bool>

The BooleanFormatter type exposes the following members.

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