Method AddDependency
AddDependency(TContainer)
Add a dependency to this container. Circular dependencies or dependencies on self are not allowed.
Declaration
public bool AddDependency(TContainer dependency)
Parameters
Type | Name | Description |
---|---|---|
TContainer | dependency | The dependency to add. |
Returns
Type | Description |
---|---|
bool |