public Dependency(Type abstractType, Type concreteType, InstantiationScope scope) { AbstractType = abstractType; ConcreteType = concreteType; Scope = scope; }
public void Register <TAbstract, TConcrete>(InstantiationScope scope) { _dependencies.Add(new Dependency(typeof(TAbstract), typeof(TConcrete), scope)); }