Class MethodName<T>
Helper for getting method name.
Inheritance
System.Object
MethodName<T>
Namespace: Kros.KORM.Helper
Assembly: Kros.KORM.dll
Syntax
public static class MethodName<T>
Type Parameters
Name | Description |
---|---|
T | Type of class or interface, which method we want. |
Methods
GetName(Expression<Action<T>>)
Gets the name of method.
Declaration
public static string GetName(Expression<Action<T>> expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Action<T>> | expression | The expression. |
Returns
Type | Description |
---|---|
System.String | Method name. |