Class MissingParametersSupplyingMethod

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Decorates another method invoking it supplying missing parameters.

public class MissingParametersSupplyingMethod : IMethod, IEquatable<MissingParametersSupplyingMethod>

Inheritance

objectMissingParametersSupplyingMethod

Implements

IMethod, IEquatable<MissingParametersSupplyingMethod>

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

MissingParametersSupplyingMethod(IMethod)

Initializes a new instance of the MissingParametersSupplyingMethod class.

public MissingParametersSupplyingMethod(IMethod method)

Parameters

method IMethod

Properties

Method

Gets the decorated method.

public IMethod Method { get; }

Property Value

IMethod

Parameters

Gets information about the parameters of the method.

public IEnumerable<ParameterInfo> Parameters { get; }

Property Value

IEnumerable<ParameterInfo>

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(MissingParametersSupplyingMethod)

public bool Equals(MissingParametersSupplyingMethod other)

Parameters

other MissingParametersSupplyingMethod

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Invoke(IEnumerable<object>)

Invokes the method with the supplied parameters.

public object Invoke(IEnumerable<object> parameters)

Parameters

parameters IEnumerable<object>

The parameters.

Returns

object

The result of the method call.