Class DependencyContainer
Inheritance
object
DependencyContainer
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.Dependencies
Syntax
public class DependencyContainer : IDependencyContainer
Methods
Clear()
Declaration
public virtual void Clear()
Get<T>()
Declaration
public T Get<T>() where T : class
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Register<T>(Func<T>)
Declaration
public void Register<T>(Func<T> getObjFunc) where T : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult><T> | getObjFunc |
Type Parameters
Name | Description |
---|---|
T |