Version 3.0.0.2

MethodInfoExtensions class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class MethodInfoExtensions
Inheritance
  • System.Object
  • MethodInfoExtensions

Methods

DeAliasMethod(MethodInfo, Boolean)
public static MethodInfo DeAliasMethod(this MethodInfo methodInfo, bool throwOnNotAliased = false)
Parameters
System.Reflection.MethodInfo methodInfo

System.Boolean throwOnNotAliased

Returns
System.Reflection.MethodInfo

GetFullName(MethodBase)
public static string GetFullName(this MethodBase method)
Parameters
System.Reflection.MethodBase method

Returns
System.String

GetFullName(MethodBase, String)
public static string GetFullName(this MethodBase method, string extensionMethodPrefix)
Parameters
System.Reflection.MethodBase method

System.String extensionMethodPrefix

Returns
System.String

GetParamsNames(MethodBase)
public static string GetParamsNames(this MethodBase method)
Parameters
System.Reflection.MethodBase method

Returns
System.String

IsAliasMethod(MethodInfo)
public static bool IsAliasMethod(this MethodInfo methodInfo)
Parameters
System.Reflection.MethodInfo methodInfo

Returns
System.Boolean

IsExtensionMethod(MethodBase)
public static bool IsExtensionMethod(this MethodBase method)
Parameters
System.Reflection.MethodBase method

Returns
System.Boolean