FastReflectionCache.TryGetPrivateMethod<TMethod> - метод
Возвращает функцию осуществляющую вызов приватной функции methodName
Пространство имён: Tessa.Platform.ReflectionСборка: Tessa (в Tessa.dll) Версия: 3.6.0.23
[CanBeNullAttribute]
public static TMethod TryGetPrivateMethod<TMethod>(
[NotNullAttribute] string methodName
)
where TMethod : class
<CanBeNullAttribute>
Public Shared Function TryGetPrivateMethod(Of TMethod As Class) (
<NotNullAttribute> methodName As String
) As TMethod
public:
[CanBeNullAttribute]
generic<typename TMethod>
where TMethod : ref class
static TMethod TryGetPrivateMethod(
[NotNullAttribute] String^ methodName
)
[<CanBeNullAttribute>]
static member TryGetPrivateMethod :
[<NotNullAttribute>] methodName : string -> 'TMethod when 'TMethod : not struct
- methodName String
-
Название метода
- TMethod
-
Тип метода. Первым параметром должен передаваться объект для которого вызывается функция
TMethod
Функция вызова функции
methodName или null
ArgumentException |
Could not find appropriate overload.
|