コード例 #1
0
ファイル: File0.cs プロジェクト: itsravinder/test_rep
            public override void Finally()
            {
                Simple_SMTP          __svc__  = (Simple_SMTP)_service;
                __Simple_SMTP_root_0 __ctx0__ = (__Simple_SMTP_root_0)(__svc__._stateMgrs[0]);

                if (__svc__.Rcv != null)
                {
                    __svc__.Rcv.Close(this, null);
                    __svc__.Rcv = null;
                }
                if (__svc__.Send != null)
                {
                    __svc__.Send.Close(this, null);
                    __svc__.Send = null;
                }
                base.Finally();
            }
コード例 #2
0
ファイル: File0.cs プロジェクト: itsravinder/test_rep
            public override void Finally()
            {
                Simple_SMTP     __svc__  = (Simple_SMTP)_service;
                __Simple_SMTP_1 __ctx1__ = (__Simple_SMTP_1)(__svc__._stateMgrs[1]);

                if (__ctx1__ != null && __ctx1__.__IN_msg != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__IN_msg);
                    __ctx1__.__IN_msg = null;
                }
                if (__ctx1__ != null && __ctx1__.__Out_msg != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__Out_msg);
                    __ctx1__.__Out_msg = null;
                }
                if (__ctx1__ != null)
                {
                    __ctx1__.__xmlDoc = null;
                }
                base.Finally();
            }