Class MissingParametersSupplyingMethod
Decorates another method invoking it supplying missing parameters.
Inheritance
System.Object
MissingParametersSupplyingMethod
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class MissingParametersSupplyingMethod : IMethod, IEquatable<MissingParametersSupplyingMethod>
Constructors
| Improve this Doc View SourceMissingParametersSupplyingMethod(IMethod)
Initializes a new instance of the MissingParametersSupplyingMethod class.
Declaration
public MissingParametersSupplyingMethod(IMethod method)
Parameters
Type | Name | Description |
---|---|---|
IMethod | method |
Properties
| Improve this Doc View SourceMethod
Gets the decorated method.
Declaration
public IMethod Method { get; }
Property Value
Type | Description |
---|---|
IMethod |
Parameters
Gets information about the parameters of the method.
Declaration
public IEnumerable<ParameterInfo> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> |
Methods
| Improve this Doc View SourceEquals(MissingParametersSupplyingMethod)
Declaration
public bool Equals(MissingParametersSupplyingMethod other)
Parameters
Type | Name | Description |
---|---|---|
MissingParametersSupplyingMethod | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Invoke(IEnumerable<Object>)
Invokes the method with the supplied parameters.
Declaration
public 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. |
Implements
System.IEquatable<T>