Skip to content

CachedReflectionFormatter Class ​

Definition ​

An implementation of IReflectionFormatter that wraps an underlying formatter with a thread-safe cache.

c#
public sealed class CachedReflectionFormatter : IReflectionFormatter

View source

Constructors ​

NameDescription
CachedReflectionFormatter(IReflectionFormatter)Initialises a new instance of the CachedReflectionFormatter class.

Methods ​

NameDescription
Format(MemberInfo)Formats the specified MemberInfo.
Format(StringBuilder, MemberInfo)Formats the specified MemberInfo.
Format(TextWriter, MemberInfo)Formats the specified MemberInfo.
FormatNamespace(MemberInfo)Formats the specified MemberInfo's namespace.
FormatNamespace(String)Formats the specified namespace.
FormatNamespace(StringBuilder, MemberInfo)Formats the specified MemberInfo's namespace.
FormatNamespace(StringBuilder, String)Formats the specified namespace.
FormatNamespace(TextWriter, MemberInfo)Formats the specified MemberInfo's namespace.
FormatNamespace(TextWriter, String)Formats the specified namespace.