Class NoConstructorsSpecification
A specification that evaluates whether a request is a request for a type without public constructors.
Inheritance
System.Object
NoConstructorsSpecification
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
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 NoConstructorsSpecification : IRequestSpecification
Constructors
| Improve this Doc View SourceNoConstructorsSpecification()
Initializes a new instance of the NoConstructorsSpecification class.
Declaration
public NoConstructorsSpecification()
Methods
| Improve this Doc View SourceIsSatisfiedBy(Object)
Evaluates a request for a specimen.
Declaration
public bool IsSatisfiedBy(object request)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The specimen request. |
Returns
Type | Description |
---|---|
System.Boolean | true if |