MrKWatkins.Reflection 1.3.1 Help

CachedReflectionFormatter Class

Definition

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

public sealed class CachedReflectionFormatter : IReflectionFormatter

Constructors

Name

Description

CachedReflectionFormatter(IReflectionFormatter)

Initialises a new instance of the CachedReflectionFormatter class.

Methods

Name

Description

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.

Last modified: 17 December 2024