Class IScopeFactoryDiagnosticsExtensions
Defines diagnostics related extensions for the IInjector interface.
Inheritance
System.Object
IScopeFactoryDiagnosticsExtensions
Namespace: Solti.Utils.DI.Diagnostics
Assembly: Solti.Utils.DI.dll
Syntax
public static class IScopeFactoryDiagnosticsExtensions : Object
Methods
GetDependencyGraph(IScopeFactory, Type, Object, String)
Gets the dependency graph in DOT graph format.
Declaration
public static string GetDependencyGraph(this IScopeFactory root, Type type, object key = null, string newLine = null)
Parameters
Type | Name | Description |
---|---|---|
IScopeFactory | root | |
System.Type | type | |
System.Object | key | |
System.String | newLine |
Returns
Type | Description |
---|---|
System.String |
GetDependencyGraph<TService>(IScopeFactory, Object, String)
Gets the dependency graph in DOT graph format.
Declaration
public static string GetDependencyGraph<TService>(this IScopeFactory root, object key = null, string newLine = null)
where TService : class
Parameters
Type | Name | Description |
---|---|---|
IScopeFactory | root | |
System.Object | key | |
System.String | newLine |
Returns
Type | Description |
---|---|
System.String |
Type Parameters
Name | Description |
---|---|
TService |