ObjectGraphContext class
April 20, 2021 · View on GitHub
Handles state while creating an object graph.
public class ObjectGraphContext
Public Members
| name | description |
|---|---|
| ObjectGraphContext(…) | Creates an instance with binding flags set according to enablePrivate. |
| BindingFlags { get; } | Flags passed to Mock constructor. |
| VisitedTypes { get; } | Used internally to track which types have been created inside a call graph, to detect cycles in the object graph. |
See Also
- namespace Moq.AutoMock