public IRegistry Register <TContract, TImplementation>(ImplementationScope implementationScope) where TImplementation : TContract, new() { _registry[typeof(TContract)] = new Implementation(implementationScope, typeof(TImplementation)); return(this); }
public Implementation(ImplementationScope implementationScope, Type type) { _implementationScope = implementationScope; _type = type; }