Class MissingParametersSupplyingMethod
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Decorates another method invoking it supplying missing parameters.
public class MissingParametersSupplyingMethod : IMethod, IEquatable<MissingParametersSupplyingMethod>Inheritance
object ← MissingParametersSupplyingMethod
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
Parameters
Gets information about the parameters of the method.
public IEnumerable<ParameterInfo> Parameters { get; }Property Value
Methods
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(MissingParametersSupplyingMethod)
public bool Equals(MissingParametersSupplyingMethod other)Parameters
other MissingParametersSupplyingMethod
Returns
GetHashCode()
public override int GetHashCode()Returns
Invoke(IEnumerable<object>)
Invokes the method with the supplied parameters.
public object Invoke(IEnumerable<object> parameters)Parameters
parameters IEnumerable<object>
The parameters.
Returns
The result of the method call.