PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​FormattersLazy­Formatter<TKind, T>
Open sandboxFocus

LazyFormatter<TKind, T> Class

Formatter for Lazy<T>.

Inheritance
LazyFormatter<TKind, 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() PostSharp.Patterns.Diagnostics.Formatters.LazyFormatter`2

Methods

Name Description
Write(UnsafeStringBuilder, Lazy<T>)

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