protected override object GetInstance(Type service, string key) { //NOTE: initialize the assembly (module) if (service != null) { ModuleConventions.InitializeAssembly(service.Assembly); } return(container.GetInstance(service, key)); }
protected override IEnumerable <object> GetAllInstances(Type service) { //NOTE: initialize the assembly (module) ModuleConventions.InitializeAssembly(service.Assembly); return(container.GetAllInstances(service)); }