Exemplo n.º 1
0
 /// <summary>
 /// initialize action instance
 /// </summary>
 /// <param name="assembly"></param>
 /// <param name="handlersNamespace"></param>
 public HttpServerRouteHandler(Assembly assembly, string handlersNamespace)
 {
     this.pathRoute = new PathRoute <IHttpServerHandler>(assembly, handlersNamespace);
 }
Exemplo n.º 2
0
        /// <summary>
        /// initialize new instance
        /// </summary>
        public HttpServerRouteHandler()
        {
            var thisType = this.GetType();

            this.pathRoute = new PathRoute <IHttpServerHandler>(thisType.Assembly, thisType.Namespace + ".HttpHandlers");
        }