コード例 #1
0
 public BaseLicenseService(BaseAnalyticsService AnalyticsService, Service.Services.UpdateService UpdateService, string CustomerID, string CustomerName)
 {
     this._CustomerID       = CustomerID;
     this._CustomerName     = CustomerName;
     this._AnalyticsService = AnalyticsService;
     this._UpdateService    = UpdateService;
 }
コード例 #2
0
 public RequestResponseLoggingMiddleware(RequestDelegate next, BaseAnalyticsService AnalyticsService)
 {
     _next             = next;
     _AnalyticsService = AnalyticsService;
 }
コード例 #3
0
        // 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();
        }
コード例 #4
0
 // 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>();
 }
コード例 #5
0
 public ElmahLogAnalyticsNotifier(BaseAnalyticsService AnalyticsService)
 {
     this._AnalyticsService = AnalyticsService;
 }
コード例 #6
0
 public MVLicenseService(BaseAnalyticsService AnalyticsService, UpdateService UpdateService, string CustomerID, string CustomerName) : base(AnalyticsService, UpdateService, CustomerID, CustomerName)
 {
 }