Interface IDependencyContainer
Namespace: InsaneScatterbrain.Dependencies
Syntax
public interface IDependencyContainer
Methods
Get<T>()
Declaration
T Get<T>() where T : class
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Register<T>(Func<T>)
Declaration
void Register<T>(Func<T> obj) where T : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult><T> | obj |
Type Parameters
Name | Description |
---|---|
T |