Esempio n. 1
0
            public override void Finally()
            {
                MapTestOrchestration     __svc__  = (MapTestOrchestration)_service;
                __MapTestOrchestration_1 __ctx1__ = (__MapTestOrchestration_1)(__svc__._stateMgrs[1]);

                if (__ctx1__ != null && __ctx1__.__msgPessoa != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__msgPessoa);
                    __ctx1__.__msgPessoa = null;
                }
                if (__ctx1__ != null && __ctx1__.__msgPessoaFinal != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__msgPessoaFinal);
                    __ctx1__.__msgPessoaFinal = null;
                }
                base.Finally();
            }
Esempio n. 2
0
            public override void Finally()
            {
                MapTestOrchestration          __svc__  = (MapTestOrchestration)_service;
                __MapTestOrchestration_root_0 __ctx0__ = (__MapTestOrchestration_root_0)(__svc__._stateMgrs[0]);

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