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

LazyFormatter<TKind, T> Class

Formatter for System.Lazy<>.

Inheritance
Formatter<System.Lazy<T>>
LazyFormatter<TKind, T>
Implements
IFormatter<System.Lazy<T>>
IOptionAwareFormatter
IFormatter
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).