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
Parameters
- options
- Type: SimpleInjectorVisualizationOptions
The various visualization options for building a string representation of the object graph.
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. |
NullReferenceException | Thrown when options is null. |
See Also