PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Method­Formatter Class

MethodFormatter Class

A formatter for MethodBase values.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Formatters.Formatter<MethodBase>
    PostSharp.Patterns.Formatters.MethodFormatter

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public sealed class MethodFormatter : Formatter<MethodBase>

The MethodFormatter 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, MethodBase)
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 MethodFormatter.
See Also