Interface IDependencyContainer
Syntax
public interface IDependencyContainer
Methods
GetDependencies()
Declaration
IReadOnlyDictionary<Type, Func<object>> GetDependencies()
Returns
Get<T>()
Declaration
T Get<T>() where T : class
Returns
Type Parameters
Register(IDependencyContainer)
Declaration
void Register(IDependencyContainer dependencyContainer)
Parameters
Register(Type, Func<object>)
Declaration
void Register(Type type, Func<object> getObjFunc)
Parameters
Register<T>(Func<T>)
Declaration
void Register<T>(Func<T> obj) where T : class
Parameters
Type |
Name |
Description |
Func<T> |
obj |
|
Type Parameters