Formatter for any type that implements IEnumerable<T>.
Namespace: PostSharp.Patterns.Diagnostics.Formatters
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class CollectionFormatter<TKind, T> : Formatter<IEnumerable<T>>, IFormatter<IEnumerable<T>>, IOptionAwareFormatter, IFormatter where TKind : FormattingRole, new()Type Parameters
| Name | Description |
|---|---|
| TKind | |
| T |
Remarks
Types that implement IQueryable are formatted by the QueryableFormatter class.
Constructors
| Name | Description |
|---|---|
| CollectionFormatter() |
Methods
| Name | Description |
|---|---|
| Write(UnsafeStringBuilder, IEnumerable<T>) | Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant). |