public AdoApiClient(ISystemLog systemLog, IAzureDevOpsConfigurationStore store, IHttpJsonClient client, HtmlConvert htmlConvert) { this.systemLog = systemLog; this.store = store; this.client = client; this.htmlConvert = htmlConvert; }
public AzureDevOpsConfigureCommands( ISystemLog systemLog, Lazy <IAzureDevOpsConfigurationStore> azureDevOpsConfiguration) { this.systemLog = systemLog; this.azureDevOpsConfiguration = azureDevOpsConfiguration; }
public WebApiServiceCaller( ISystemLog systemLog) { _systemLog = systemLog; _javaScriptSerializer = new JavaScriptSerializer(); }
public MutualFundEvenDataTableGateway( ITinyReturnsDatabaseSettings tinyReturnsDatabaseSettings, ISystemLog systemLog) : base(systemLog) { _tinyReturnsDatabaseSettings = tinyReturnsDatabaseSettings; }
public GitHubConfigureCommands( ISystemLog systemLog, Lazy <IGitHubConfigurationStore> gitHubConfiguration) { this.systemLog = systemLog; this.gitHubConfiguration = gitHubConfiguration; }
public Client() { dataTimer = new Timer(); dataTimer.Interval = 3000; dataTimer.Tick += OnDataTimerTick; testConnectionTimer = new Timer(); testConnectionTimer.Interval = 1000; testConnectionTimer.Tick += OnTestConnectionTimerTick; disconnectedLocking = false; state = ClientState.Disconnected; components = new Dictionary <Type, IClientComponent>(); var chatLog = new ChatLog(); chatLog.Client = this; components.Add(typeof(IChatLog), chatLog); systemLog = new SystemLog(); systemLog.Client = this; components.Add(typeof(ISystemLog), systemLog); playerInfo = new PlayerInfo(); playerInfo.Client = this; components.Add(typeof(IPlayerInfo), playerInfo); var mcuInfo = new McuInfo(); mcuInfo.Client = this; components.Add(typeof(IMcuInfo), mcuInfo); }
public TzocodeController(ISystemLog Logger, IBaseRepository <DataBase.TZOCODE, Tzocode> BaseRepo) { _logger = Logger; _baseRepo = BaseRepo; }
public JiraConfigureCommands( ISystemLog systemLog, Lazy <IJiraConfigurationStore> jiraConfiguration) { this.systemLog = systemLog; this.jiraConfiguration = jiraConfiguration; }
public StoreRole(ISystemLog Logger, IBaseRepository <DataBase.TSTRMST, Tstrmst> StoreRepo, IBaseRepository <DataBase.TUSRMST, Tusrmst> UserRepo) { this._logger = Logger; this._userRepo = UserRepo; this._storeRepo = StoreRepo; }
public MailFactory(ISystemLog Logger, IMailRepository MailRepo, IBaseRepository <DataBase.TSYSDAT, Tsysdat> ParamRepo) { _logger = Logger; _mailRepo = MailRepo; _paramRepo = ParamRepo; }
public CMRole(ISystemLog Logger, IBaseRepository <DataBase.TUSRMST, Tusrmst> UserRepo, IBaseRepository <DataBase.TZOCODE, Tzocode> ZoRepo) { _logger = Logger; _userRepo = UserRepo; _zoRepo = ZoRepo; }
public PartFactory(ISystemLog Logger, IBaseRepository <DataBase.TVUPART, Tvupart> TpartRepo, IBaseRepository <DataBase.TCALLOG, Tcallog> CallogRepo) { _logger = Logger; _tpartRepo = TpartRepo; _callogRepo = CallogRepo; }
public HomeController(ISystemLog Logger, ITechnicianService TechnicianService, IBaseRepository <DataBase.TASSETS, Tassets> BaseRepo) { _logger = Logger; _baseRepo = BaseRepo; _technicianService = TechnicianService; }
public WorkItemLinkMapper(ISystemLog systemLog, IGitHubConfigurationStore store, CommentParser commentParser, Lazy <IGitHubClient> githubClient) { this.systemLog = systemLog; this.store = store; this.commentParser = commentParser; this.githubClient = githubClient; }
public MemberAuthSetController(ISystemLog Logger, IBaseRepository <DataBase.TUSRMST, UserBase> tusrmstRepo, IBaseRepository <DataBase.TSYSROL, RoleAuth> tsysrolRepo, IAspUserService AspUserService) { _tusrmstRepo = tusrmstRepo; _tsysrolRepo = tsysrolRepo; _logger = Logger; _aspUserService = AspUserService; }
public WorkItemLinkMapper(IJiraConfigurationStore store, CommentParser commentParser, Lazy <IJiraRestClient> jira, ISystemLog systemLog) { this.store = store; this.commentParser = commentParser; this.jira = jira; this.systemLog = systemLog; }
public SystemResources( SystemResource[] systemResources, ISystemLog systemLog) { _systemLog = systemLog; _systemResources = systemResources; _systemLog.Info("Created System Resources"); _systemLog.Info(GetSystemSummary()); }
public VendorService(ISystemLog Logger, IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> TechnicianGroupRepo, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo, IBaseRepository <DataBase.TTechnicianGroupClaims, TtechnicianGroupClaims> TechnicianGroupClaimsRepo) { this._logger = Logger; this._tvenderRepo = TechnicianRepo; this._technicianGroupRepo = TechnicianGroupRepo; this._technicianGroupClaimsRepo = TechnicianGroupClaimsRepo; }
public TechnicianController(ISystemLog Logger, IVendorService VendorService, ITechnicianService TechnicianService, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo) { _logger = Logger; _technicianRepo = TechnicianRepo; _technicianService = TechnicianService; _vendorService = VendorService; }
public UserController(ISystemLog Logger, IClientUserService UserService, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo, IBaseRepository <DataBase.TUSRMST, Tusrmst> UserRepo, IImgRepository ImgRepo) { _logger = Logger; _userRepo = UserRepo; _userService = UserService; _technicianRepo = TechnicianRepo; _ImgRepo = ImgRepo; }
public MasterAuthSetController(ISystemLog logger, IAspUserRepository authRepo, IAspUserService aspUserService, IBaseRepository <DataBase.TSYSROL, RoleAuth> tsysrolRepo, IBaseRepository <DataBase.TSYSROL, Tsysrol> uptsysrolRepo) { _logger = logger; _authRepo = authRepo; _aspUserService = aspUserService; _tsysrolRepo = tsysrolRepo; _uptsysrolRepo = uptsysrolRepo; }
public AttachedMethods(ISystemLog Logger, IBaseRepository <DataBase.TCALLOG, Tcallog> CallogRepo, IBaseRepository <DataBase.TCMPDAT, Tcmpdat> CompRepo, IBaseRepository <DataBase.TVENDER, Tvender> VenderRepo, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo) { _logger = Logger; _compRepo = CompRepo; _venderRepo = VenderRepo; _callogRepo = CallogRepo; _technicianRepo = TechnicianRepo; }
public static void BootstrapForTests( ISystemLog systemLog, IOfficeLocationDatabaseSettings officeLocationDatabaseSettings, ICountryWebApiSettings countryWebApiSettings, IEmailSettings emailSettings, IGroupNameConstants groupNameConstants) { BootstrapAll(systemLog, officeLocationDatabaseSettings, countryWebApiSettings, emailSettings, groupNameConstants); }
public void Setup() { if (!TryGetJiraSettings(out var baseUrl, out var username, out var authToken)) { Assert.Ignore( $"Configure the following environment variables '{JiraBaseUrlEnvironmentVariable}', '{JiraUsernameEnvironmentVariable}', '{JiraAuthTokenEnvironmentVariable}' to run these tests."); } log = Substitute.For <ISystemLog>(); store = BuildJiraConfigurationStore(baseUrl, username, authToken); httpClientFactory = BuildOctopusHttpClientFactory(baseUrl, username, authToken); }
public JiraRestClient(string baseUrl, string username, string?password, ISystemLog systemLog, IOctopusHttpClientFactory octopusHttpClientFactory) { this.baseUrl = baseUrl; this.systemLog = systemLog; authorizationHeader = new AuthenticationHeaderValue( "Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}"))); httpClient = CreateHttpClient(octopusHttpClientFactory); }
public JPushFactory(ISystemLog Logger, IPushRepository NotifyRepo, IBaseRepository <DataBase.TVENDER, Tvender> TvenderRepo, IBaseRepository <DataBase.TCallLogRecord, TcallogRecord> PushRecordRepo, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo, IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> TechnicianGroupRepo) { this._logger = Logger; this._notifyRepo = NotifyRepo; this._tvenderRepo = TvenderRepo; this._technicianRepo = TechnicianRepo; this._pushRecordRepo = PushRecordRepo; this._technicianGroupRepo = TechnicianGroupRepo; }
public RepositoryTestsBase() { var dataConnectionStrings = new DataConnectionStringsForIntegrationTests(); if (!AlreadyInit) { SystemLog = new SystemLogForIntegrationTests(); DependencyManager.BootstrapForTests(SystemLog, dataConnectionStrings, dataConnectionStrings, dataConnectionStrings, dataConnectionStrings); AlreadyInit = true; } }
public SystemLog() : base() { if (isMultiDatabase) { base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name, dicmultiDatabase[this.GetType().Name].ToString()); } else { base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name); } baseDal.OnOperationLog += new OperationLogEventHandler(OperationLog.OnOperationLog); //如果需要记录操作日志,则实现这个事件 dal = baseDal as ISystemLog; }
public TechnicianService(ISystemLog Logger, ITechnicianProvider TechnicianProvider, IBaseRepository <DataBase.TUSRMST, Tusrmst> tusrstRepo, IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> TechnicianGroupRepo, IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo) { this._tusrstRepo = tusrstRepo; this._logger = Logger; this._technicianRepo = TechnicianRepo; this._technicianProvider = TechnicianProvider; this._technicianGroupRepo = TechnicianGroupRepo; this._stickerPath = ServerProfile.GetInstance().STICKER_PATH; this._technicianPath = ServerProfile.GetInstance().TECHNICIAN_PATH; this._license = ServerProfile.GetInstance().LICENSE_PATH; }
public void DoSomeComplicatedBusinessStuff( ISystemLog systemLog) { systemLog.LogInfo("Starting long running business process."); try { // some REALLY complicated stuff } catch (Exception e) { systemLog.LogError(e.Message); } systemLog.LogInfo("Long running business process completed."); }