public ContainerController( IHubContext <BaseHub> hub, ILogger <ContainerController> log, IContainerCore container, IMapper mapper) : base(log) { _hub = hub; _log = log; _container = container; _mapper = mapper; }
public ControllerCore(IModule controllerModule, IContainerCore container) { _controllerModule = controllerModule; _controllerModule.Load(); _container = container; _viewFactory = new ViewFactory(_controllerModule, new Implementor(_container)); //_container.Bind<IControllerCore>().ToInstance(this); _container.Bind <IControllerCore>().To <ControllerCore>() .WithArguments(_controllerModule, _container); }
public SentryController( ILogger <SentryController> log, IContainerCore container, ISentry sentry, IMapper mapper ) : base(log) { _log = log; _container = container; _sentry = sentry; _mapper = mapper; }
public void Init() { _container = new DIContainer(new ServiceModule()); }
public Injector(IContainerCore container) { _container = container; }
public Implementor(IContainerCore containerCore) : base(containerCore) { }
public DataServiceProxy(IModule module) : base("DataServiceHttp") { _container = new DIContainer(module); }