RemoveCapture() public method

public RemoveCapture ( EventCallback1 callback ) : void
callback EventCallback1
return void
示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="callback"></param>
        public void RemoveCapture(EventCallback1 callback)
        {
            if (_bridge == null)
            {
                _bridge = this.owner.GetEventBridge(_type);
            }

            _bridge.RemoveCapture(callback);
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="strType"></param>
        /// <param name="callback"></param>
        public void RemoveCapture(string strType, EventCallback1 callback)
        {
            if (_dic == null)
            {
                return;
            }

            EventBridge bridge = null;

            if (_dic.TryGetValue(strType, out bridge))
            {
                bridge.RemoveCapture(callback);
            }
        }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="callback"></param>
 public void RemoveCapture(EventCallback1 callback)
 {
     _bridge.RemoveCapture(callback);
 }