public EventRegister(IRemoteServerNodeProxy remoteServerNodeProxy) { _appService = new AppService(new FreeSqlContext(FreeSQL.Instance)); _configService = new ConfigService(new FreeSqlContext(FreeSQL.Instance), null, _appService); _sysLogService = new SysLogService(new FreeSqlContext(FreeSQL.Instance)); _modifyLogService = new ModifyLogService(new FreeSqlContext(FreeSQL.Instance)); _serverNodeService = new ServerNodeService(new FreeSqlContext(FreeSQL.Instance)); _remoteServerNodeProxy = remoteServerNodeProxy; }
public ConfigController( IConfigService configService, IModifyLogService modifyLogService, IRemoteServerNodeProxy remoteServerNodeProxy, IServerNodeService serverNodeService, ISysLogService sysLogService) { _configService = configService; _modifyLogService = modifyLogService; _remoteServerNodeProxy = remoteServerNodeProxy; _serverNodeService = serverNodeService; _sysLogService = sysLogService; }
public ConfigController( IConfigService configService, IAppService appService, IModifyLogService modifyLogService, IRemoteServerNodeProxy remoteServerNodeProxy, IServerNodeService serverNodeService, IAppBasicAuthService appBasicAuthService) { _configService = configService; _appService = appService; _modifyLogService = modifyLogService; _remoteServerNodeProxy = remoteServerNodeProxy; _serverNodeService = serverNodeService; _appBasicAuthService = appBasicAuthService; }