Skip to content

IReflectionFormatter.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 abstract string FormatNamespace(MemberInfo member);

Parameters ​

NameTypeDescription
memberMemberInfoThe member.

Returns ​

String

A string representing member's namespace.

FormatNamespace(String) ​

Formats the specified namespace.

c#
public abstract string FormatNamespace(string @namespace);

Parameters ​

NameTypeDescription
namespaceStringThe namespace.

Returns ​

String

A string representing namespace.

FormatNamespace(StringBuilder, MemberInfo) ​

Formats the specified MemberInfo's namespace.

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

Parameters ​

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

FormatNamespace(StringBuilder, String) ​

Formats the specified namespace.

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

Parameters ​

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

FormatNamespace(TextWriter, MemberInfo) ​

Formats the specified MemberInfo's namespace.

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

Parameters ​

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

FormatNamespace(TextWriter, String) ​

Formats the specified namespace.

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

Parameters ​

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