Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.09 KB

File metadata and controls

24 lines (17 loc) · 1.09 KB

MockResolutionContext class

The context used to resolve types from an AutoMocker instance.

public class MockResolutionContext

Public Members

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.

See Also