Open sandboxFocus

Class AnonymousTypeFormatter<TKind>

The formatted used to for anonymous types by default.

Inheritance
AnonymousTypeFormatter<TKind>
Implements
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class AnonymousTypeFormatter<TKind> : IFormatter where TKind : FormattingRole, new()
Type Parameters
Name Description
TKind

The formatting role.

Constructors

Name Description
AnonymousTypeFormatter(Type)

Initializes a new AnonymousTypeFormatter<TKind> for a given Type.

Properties

Name Description
Attributes

Gets the formatter attributes.

Methods

Name Description
Write(UnsafeStringBuilder, object)

Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).

Extension Methods