Builds a string representation of the object graph with the current instance as root of the
graph.
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Return Value
Type: StringA string representation of the object graph.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when this method is called before GetInstance or BuildExpression have been called. These calls can be done directly and explicitly by the user on this instance, indirectly by calling GetInstance or BuildExpression on an instance that depends on this instance, or by calling Verify on the container. |
See Also