Class MissingParametersSupplyingMethodFactory

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Creates a new MissingParametersSupplyingMethod for an instance MethodInfo.

public class MissingParametersSupplyingMethodFactory : IMethodFactory

Inheritance

objectMissingParametersSupplyingMethodFactory

Implements

IMethodFactory

Inherited Members

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

Constructors

MissingParametersSupplyingMethodFactory(object)

Initializes a new instance of the MissingParametersSupplyingMethodFactory class.

public MissingParametersSupplyingMethodFactory(object owner)

Parameters

owner object

The owner.

Properties

Owner

Gets the owner originally supplied through the constructor.

public object Owner { get; }

Property Value

object

See Also

MissingParametersSupplyingMethodFactory.MissingParametersSupplyingMethodFactory(object)

Methods

Create(MethodInfo)

Creates a InstanceMethod decorated with MissingParametersSupplyingMethod for the supplied methodInfo.

public IMethod Create(MethodInfo methodInfo)

Parameters

methodInfo MethodInfo

The methodInfo.

Returns

IMethod

Method for methodInfo.