The context used to resolve types from an AutoMocker instance.
public class MockResolutionContext| name | description |
|---|---|
| MockResolutionContext(…) | Initializes an instance of MockResolutionContext. |
| AutoMocker { get; } | The AutoMocker instance. |
| ObjectGraphContext { get; } | Context within the object graph being created. This differs from the MockResolutionContext which is only relevant for a single object creation. |
| RequestType { get; } | The requested type to resolve. |
| Value { get; set; } | The value to use from the resolution. |
| Deconstruct(…) | Deconstruct this instance into its individual properties. |
- namespace Moq.AutoMock.Resolvers