Esempio n. 1
0
        public override Func <Tuple <object, Action> > GetCompositionOperation()
        {
            var globalA = new Web.GlobalA();
            var globalB = new Web.GlobalB();

            return(() =>
            {
                var tc = new Web.TailC();
                var tb = new Web.TailB(tc);
                var ta = new Web.TailA(tb);
                var a = new Web.A(globalA);
                var b = new Web.B(globalB);
                var transient = new Web.Transient();
                var w = new Web.Wide(a, a, b, transient);
                var l = new Web.Long(ta);
                var r = new Web.OperationRoot(w, l);
                return Tuple.Create <object, Action>(r, () => { ta.Dispose(); tb.Dispose(); tc.Dispose(); });
            });
        }
Esempio n. 2
0
 public TailA(TailB b)
 {
     _b = b;
 }
Esempio n. 3
0
 public override Func<Tuple<object, Action>> GetCompositionOperation()
 {
     var globalA = new Web.GlobalA();
     var globalB = new Web.GlobalB();
     return () =>
     {
         var tc = new Web.TailC();
         var tb = new Web.TailB(tc);
         var ta = new Web.TailA(tb);
         var a = new Web.A(globalA);
         var b = new Web.B(globalB);
         var transient = new Web.Transient();
         var w = new Web.Wide(a, a, b, transient);
         var l = new Web.Long(ta);
         var r = new Web.OperationRoot(w, l);
         return Tuple.Create<object, Action>(r, () => { ta.Dispose(); tb.Dispose(); tc.Dispose(); });
     };
 }
Esempio n. 4
0
 public TailA(TailB b) { _b = b; }