Class NSubstituteSealedPropertiesCommand
If the type of the object being substituted contains any fields and/or non-virtual/sealed settable properties, this initializer will resolve them from a given context.
Inheritance
System.Object
NSubstituteSealedPropertiesCommand
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.AutoNSubstitute
Assembly: AutoFixture.AutoNSubstitute.dll
Syntax
public class NSubstituteSealedPropertiesCommand : ISpecimenCommand
Methods
| Improve this Doc View SourceExecute(Object, ISpecimenContext)
If the type of the object being substituted contains any fields and/or non-virtual/sealed settable properties, this initializer will resolve them from a given context.
Declaration
public void Execute(object specimen, ISpecimenContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Object | specimen | The substitute object. |
ISpecimenContext | context | The context. |