ReflectionFormatter.FormatNamespace Method
Overloads
| Name | Description |
|---|---|
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);Parameters
| Name | Type | Description |
|---|---|---|
member | MemberInfo | The member. |
Returns
A string representing member's namespace.
FormatNamespace(String)
Formats the specified namespace.
c#
public string FormatNamespace(string @namespace);Parameters
| Name | Type | Description |
|---|---|---|
namespace | String | The namespace. |
Returns
A string representing namespace.
FormatNamespace(StringBuilder, MemberInfo)
Formats the specified MemberInfo's namespace.
c#
public void FormatNamespace(StringBuilder output, MemberInfo member);Parameters
| Name | Type | Description |
|---|---|---|
output | StringBuilder | A StringBuilder to append a string representing member's namespace to. |
member | MemberInfo | The member. |
FormatNamespace(StringBuilder, String)
Formats the specified namespace.
c#
public void FormatNamespace(StringBuilder output, string @namespace);Parameters
| Name | Type | Description |
|---|---|---|
output | StringBuilder | A StringBuilder to append a string representing namespace to. |
namespace | String | The namespace. |
FormatNamespace(TextWriter, MemberInfo)
Formats the specified MemberInfo's namespace.
c#
public void FormatNamespace(TextWriter output, MemberInfo member);Parameters
| Name | Type | Description |
|---|---|---|
output | TextWriter | A TextWriter to write a string representing member's namespace to. |
member | MemberInfo | The member. |
FormatNamespace(TextWriter, String)
Formats the specified namespace.
c#
public abstract void FormatNamespace(TextWriter output, string @namespace);Parameters
| Name | Type | Description |
|---|---|---|
output | TextWriter | A TextWriter to write a string representing namespace to. |
namespace | String | The namespace. |