Exemplo n.º 1
0
            public override void Finally()
            {
                RecevingOrders     __svc__  = (RecevingOrders)_service;
                __RecevingOrders_1 __ctx1__ = (__RecevingOrders_1)(__svc__._stateMgrs[1]);

                if (__ctx1__ != null && __ctx1__.__msgBookOrders != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__msgBookOrders);
                    __ctx1__.__msgBookOrders = null;
                }
                base.Finally();
            }
Exemplo n.º 2
0
            public override void Finally()
            {
                RecevingOrders          __svc__  = (RecevingOrders)_service;
                __RecevingOrders_root_0 __ctx0__ = (__RecevingOrders_root_0)(__svc__._stateMgrs[0]);

                if (__svc__.Port_OrdersOut != null)
                {
                    __svc__.Port_OrdersOut.Close(this, null);
                    __svc__.Port_OrdersOut = null;
                }
                if (__svc__.Port_OrdersIn != null)
                {
                    __svc__.Port_OrdersIn.Close(this, null);
                    __svc__.Port_OrdersIn = null;
                }
                base.Finally();
            }