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

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

            owinNode.Middleware.Add(future.middleware);

            return(owinNode);
        }
        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;
        }