RemoveCapture() public méthode

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

            _bridge.RemoveCapture(callback);
        }
        /// <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);
            }
        }
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="callback"></param>
 public void RemoveCapture(EventCallback1 callback)
 {
     _bridge.RemoveCapture(callback);
 }