AnonymousTypeFormatter<TKind> Class |
The formatted used to for anonymous types by default.
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 AnonymousTypeFormatter<TKind> : IFormatter where TKind : new(), FormattingRole
Type Parameters
- TKind
- The formatting role.
The AnonymousTypeFormatter<TKind> type exposes the following members.
Name | Description | |
---|---|---|
AnonymousTypeFormatter<TKind> |
Initializes a new AnonymousTypeFormatter<TKind> for a given Type.
|
Name | Description | |
---|---|---|
Attributes |
Gets the formatter attributes.
|
Name | Description | |
---|---|---|
Write |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
|
Name | Description | |
---|---|---|
WithOptions |
Returns a copy of the current formatter, but for different options.
(Defined by FormatterExtensions.) |