Ejemplo n.º 1
0
        public static (MiddlewareLocal, MiddlewareLocal, MiddlewareLocal) GenerateLinkedMiddlewareLocalTriple()
        {
            MiddlewareLocal mid1    = new MiddlewareLocal();
            MiddlewareLocal mid2    = new MiddlewareLocal();
            MiddlewareLocal midHost = new MiddlewareLocal();

            // assign them together
            midHost.ConnectMiddlewareTogether(mid1);
            midHost.ConnectMiddlewareTogether(mid2);

            return(mid1, mid2, midHost);
        }
Ejemplo n.º 2
0
        public static (MiddlewareLocal, MiddlewareLocal) GenerateLinkedMiddlewareLocalPair()
        {
            MiddlewareLocal mid1 = new MiddlewareLocal();
            MiddlewareLocal mid2 = new MiddlewareLocal();

            // assign them together
            mid1.ConnectMiddlewareTogether(mid2);

            return(mid1, mid2);
        }