A Formatter<T> for Type values.
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class TypeFormatter : Formatter<Type>, IFormatter<Type>, IOptionAwareFormatter, IFormatterConstructors
| Name | Description |
|---|---|
| TypeFormatter(bool) | Initializes a new TypeFormatter and specifies whether it should include namespaces. |
Fields
| Name | Description |
|---|---|
| Instance | The default instance of TypeFormatter, which includes namespaces. |
Methods
| Name | Description |
|---|---|
| Write(UnsafeStringBuilder, Type) | Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant). |