public BaseLicenseService(BaseAnalyticsService AnalyticsService, Service.Services.UpdateService UpdateService, string CustomerID, string CustomerName) { this._CustomerID = CustomerID; this._CustomerName = CustomerName; this._AnalyticsService = AnalyticsService; this._UpdateService = UpdateService; }
public RequestResponseLoggingMiddleware(RequestDelegate next, BaseAnalyticsService AnalyticsService) { _next = next; _AnalyticsService = AnalyticsService; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IApplicationLifetime applicationLifetime, JobService JobService, BaseAnalyticsService AnalyticsService, Service.Services.ComputerMonitor.ComputerMonitorService ComputerMonitorService) { applicationLifetime.ApplicationStopping.Register(OnShutdown); applicationLifetime.ApplicationStarted.Register(OnStarted); Loader.Application.Configuration.AppConfiguration.DoAppConfiguration(app, _env); //Limpando todos os status anteriormente pendentes na inicialização JobService.ClearAllJobStatus(); ComputerMonitorService.RegisterBackgroundJobs(); this.RegisterHangfireTasks(); }
// This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { Application.Configuration.ServiceConfiguration.DoConfiguration(services, Configuration, _env); this.BaseAnalyticsService = services.BuildServiceProvider().GetService <BaseAnalyticsService>(); }
public ElmahLogAnalyticsNotifier(BaseAnalyticsService AnalyticsService) { this._AnalyticsService = AnalyticsService; }
public MVLicenseService(BaseAnalyticsService AnalyticsService, UpdateService UpdateService, string CustomerID, string CustomerName) : base(AnalyticsService, UpdateService, CustomerID, CustomerName) { }