MemberInfoExtensions.GetNamespace Method
Definition
Returns the namespace the specified MemberInfo is contained in, or null if it's in the global namespace.
c#
public static string? GetNamespace(this MemberInfo member);Parameters
| Name | Type | Description |
|---|---|---|
member | MemberInfo | The member. |
Returns
The namespace member is contained in, or null if it's in the global namespace.