Interface IMethod
Represents some kind of method that can be invoked with a known set of parameters.
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public interface IMethod
Properties
| Improve this Doc View SourceParameters
Gets information about the parameters of the method.
Declaration
IEnumerable<ParameterInfo> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> |
Methods
| Improve this Doc View SourceInvoke(IEnumerable<Object>)
Invokes the method with the supplied parameters.
Declaration
object Invoke(IEnumerable<object> parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Object> | parameters | The parameters. |
Returns
Type | Description |
---|---|
System.Object | The result of the method call. |