Skip to content

CachedReflectionFormatter.FormatNamespace Method ​

Overloads ​

NameDescription
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.

FormatNamespace(MemberInfo) ​

Formats the specified MemberInfo's namespace.

c#
public string FormatNamespace(MemberInfo member);

View source

Parameters ​

NameTypeDescription
memberMemberInfoThe member.

Returns ​

String

A string representing member's namespace.

FormatNamespace(String) ​

Formats the specified namespace.

c#
public string FormatNamespace(string @namespace);

View source

Parameters ​

NameTypeDescription
namespaceStringThe namespace.

Returns ​

String

A string representing namespace.

FormatNamespace(StringBuilder, MemberInfo) ​

Formats the specified MemberInfo's namespace.

c#
public void FormatNamespace(StringBuilder output, MemberInfo member);

View source

Parameters ​

NameTypeDescription
outputStringBuilderA StringBuilder to append a string representing member's namespace to.
memberMemberInfoThe member.

FormatNamespace(StringBuilder, String) ​

Formats the specified namespace.

c#
public void FormatNamespace(StringBuilder output, string @namespace);

View source

Parameters ​

NameTypeDescription
outputStringBuilderA StringBuilder to append a string representing namespace to.
namespaceStringThe namespace.

FormatNamespace(TextWriter, MemberInfo) ​

Formats the specified MemberInfo's namespace.

c#
public void FormatNamespace(TextWriter output, MemberInfo member);

View source

Parameters ​

NameTypeDescription
outputTextWriterA TextWriter to write a string representing member's namespace to.
memberMemberInfoThe member.

FormatNamespace(TextWriter, String) ​

Formats the specified namespace.

c#
public void FormatNamespace(TextWriter output, string @namespace);

View source

Parameters ​

NameTypeDescription
outputTextWriterA TextWriter to write a string representing namespace to.
namespaceStringThe namespace.