public HealthCheckModule(IHealthCheckHandler healthCheckHandler, List <string> templateAssemblies, string templateName) : base("/healthcheck") { RegisterRoutes(); template = new VelocityTemplate(templateAssemblies); this.templateName = templateName; this.healthCheckHandler = healthCheckHandler; }
public HealthCheckModule() : base("/healthcheck") { RegisterRoutes(); template = new VelocityTemplate(new List <string>(new[] { typeof(IHealthCheck).Assembly.GetName().Name })); templateName = @"Common.HealthCheck.Template.Views.Index.htm"; healthCheckHandler = IoCContainer.Instance.HealthCheckHandler; }