Summary
Returns the full name of a `member` as it would appear in C# code.
For example, passing the
System.Reflection.MethodInfo
of this method in as its own parameter would return "Weaver.CSharp
.GetNameCS".
Note that when `member` is a System.Type
, this method calls Weaver.CSharp.GetNameCS(System.Type,Weaver.CSharp.NameVerbosity)
instead.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- CSharp
Syntax
public static string GetNameCS(this MemberInfo member, CSharp.NameVerbosity declaringTypeNameVerbosity = Full)
Parameters
Name | Type | Description |
---|---|---|
member | MemberInfo | |
declaringTypeNameVerbosity | CSharp |
Return Value
Type | Description |
---|---|
string |