예제 #1
0
        public static OwinNode operator *(GraphNode node, OwinNodeFuture future)
        {
            var owinNode = new OwinNode(node);
            owinNode.Middleware.Add(future.middleware);

            return owinNode;
        }
예제 #2
0
        public static OwinNode operator *(GraphNode node, OwinNodeFuture future)
        {
            var owinNode = new OwinNode(node);

            owinNode.Middleware.Add(future.middleware);

            return(owinNode);
        }
예제 #3
0
        public OwinNode Pipeline(string routeTemplate)
        {
            var node = this.Config.StringRouteParser.MapToGraph(routeTemplate);

            if (node != null)
            {
                var owinNode = new OwinNode(node);
                this.Base.Zip(owinNode.Node.Base());

                return owinNode;
            }

            return null;
        }