Ejemplo n.º 1
0
        public static void AddHoundUi(this HoundConfiguration houndConfiguration, RouteCollection routes)
        {
            var application = houndConfiguration.HttpApplication;

            routes.MapHttpRoute(
                name: "houndroute",
                routeTemplate: "hound",
                defaults: null,
                constraints: null,
                handler: new HoundUiHttpHandler(houndConfiguration.Hound)
                );
        }
Ejemplo n.º 2
0
 public Hound(Action <HoundConfiguration <T1, T2> > compare, IEnumerable <ILogger> loggers)
 {
     this.loggers = loggers;
     config       = new HoundConfiguration <T1, T2>();
     compare(config);
 }