コード例 #1
0
        /// <summary>
        /// 更新网络
        /// </summary>
        public void Update()
        {
            _syncContext.Update();

            if (_channel != null)
            {
                _channel.Update();
            }
        }
コード例 #2
0
        /// <summary>
        /// 更新网络
        /// </summary>
        public void Update()
        {
            MainThreadSyncContext.Instance.Update();

            if (_channel != null)
            {
                _channel.Update();
            }
        }