Formatter for Lazy<T>.
Namespace: PostSharp.Patterns.Diagnostics.Formatters
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class LazyFormatter<TKind, T> : Formatter<Lazy<T>>, IFormatter<Lazy<T>>, IOptionAwareFormatter, IFormatter where TKind : FormattingRole, new()
Type Parameters
Name | Description |
---|---|
TKind | |
T |
Constructors
Name | Description |
---|---|
LazyFormatter() |
Methods
Name | Description |
---|---|
Write(UnsafeStringBuilder, Lazy<T>) | Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant). |