Example #1
0
 public EventLogWriter(JasperServiceConfiguration settings, string name)
 {
     _settings = settings;
     _name = name;
 }
Example #2
0
 public EventLogFactoryConfigurator(JasperServiceConfiguration settings)
 {
     _settings = settings;
 }
Example #3
0
 public static void UseEventLog(this HostConfigurator configurator, JasperServiceConfiguration settings)
 {
     HostLogger.UseLogger(new EventLogFactoryConfigurator(settings));
 }
Example #4
0
 public EventLogFactory(JasperServiceConfiguration settings)
 {
     _settings = settings;
     if (!EventLog.SourceExists(_settings.Name))
         EventLog.CreateEventSource(_settings.Name, "Application");
 }
Example #5
0
 public JasperServiceRuntime(JasperServiceConfiguration configuration)
 {
     _configuration = configuration;
     _runner        = new Lazy <IApplicationLoader>(bootstrap);
 }
 public JasperServiceRuntime(JasperServiceConfiguration configuration)
 {
     _configuration = configuration;
     _runner = new Lazy<IApplicationLoader>(bootstrap);
 }