TypeFormatter Class |
A Formatter<T> for Type values.
System.Object
PostSharp.Patterns.Formatters.Formatter<Type>
PostSharp.Patterns.Formatters.TypeFormatter
PostSharp.Patterns.Formatters.Formatter<Type>
PostSharp.Patterns.Formatters.TypeFormatter
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class TypeFormatter : Formatter<Type>
The TypeFormatter type exposes the following members.
Name | Description | |
---|---|---|
TypeFormatter |
Initializes a new TypeFormatter and specifies whether it should include namespaces.
|
Name | Description | |
---|---|---|
Attributes |
Gets the formatter attributes.
(Inherited from Formatter<T>.) |
Name | Description | |
---|---|---|
WithOptions | (Inherited from Formatter<T>.) | |
Write(UnsafeStringBuilder, Object) |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from Formatter<T>.) | |
Write(UnsafeStringBuilder, Type) |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Overrides Formatter<T>.Write(UnsafeStringBuilder, T).) |
Name | Description | |
---|---|---|
Instance |
The default instance of TypeFormatter, which includes namespaces.
|