Interface IMethod

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Represents some kind of method that can be invoked with a known set of parameters.

public interface IMethod

Properties

Parameters

Gets information about the parameters of the method.

IEnumerable<ParameterInfo> Parameters { get; }

Property Value

IEnumerable<ParameterInfo>

Methods

Invoke(IEnumerable<object>)

Invokes the method with the supplied parameters.

object Invoke(IEnumerable<object> parameters)

Parameters

parameters IEnumerable<object>

The parameters.

Returns

object

The result of the method call.