public static GetKey ( this method ) : string | ||
method | this | |
return | string |
public static string GetKey(this MethodInfo method)
{
var att = method.GetAttribute<AliasAsAttribute>();
return att == null ? method.Name : att.Alias;
}
}