Example #1
0
        public JinxBotWebPlugin()
        {
            SetupEvents();

            m_svc       = new JinxBotWebApplicationClient();
            m_channelID = new Guid("539be340-302f-442c-ae1c-f9db9b40fc75");

            SetupPosting();
        }
Example #2
0
        public JinxBotWebPlugin()
        {
            SetupEvents();

            m_svc = new JinxBotWebApplicationClient();
            m_channelID = new Guid("539be340-302f-442c-ae1c-f9db9b40fc75");

            SetupPosting();
        }
Example #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (m_svc != null)
                {
                    m_svc.Close();
                    m_svc = null;
                }

                if (m_submitLoop != null)
                {
                    m_submitLoop.Abort();
                    m_submitLoop = null;
                }

                if (m_submitWait != null)
                {
                    m_submitWait.Close();
                    m_submitWait = null;
                }
            }
        }
Example #4
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (m_svc != null)
                {
                    m_svc.Close();
                    m_svc = null;
                }

                if (m_submitLoop != null)
                {
                    m_submitLoop.Abort();
                    m_submitLoop = null;
                }

                if (m_submitWait != null)
                {
                    m_submitWait.Close();
                    m_submitWait = null;
                }
            }
        }