Interface IMethodAccessor
- Namespace
- FluentCommand.Reflection
- Assembly
- FluentCommand.dll
An interface for method accessor
public interface IMethodAccessor
Properties
MethodInfo
Gets the method info.
MethodInfo MethodInfo { get; }
Property Value
Name
Gets the name of the member.
string Name { get; }
Property Value
- string
The name of the member.
Methods
Invoke(object, params object[])
Invokes the method on the specified instance
.
object Invoke(object instance, params object[] arguments)
Parameters
instance
objectThe object on which to invoke the method. If a method is static, this argument is ignored.
arguments
object[]An argument list for the invoked method.
Returns
- object
An object containing the return value of the invoked method.