/// <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); }
/// <summary> /// initialize new instance /// </summary> public HttpServerRouteHandler() { var thisType = this.GetType(); this.pathRoute = new PathRoute <IHttpServerHandler>(thisType.Assembly, thisType.Namespace + ".HttpHandlers"); }