Clear() public méthode

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

            _bridge.Clear();
            if (callback != null)
            {
                _bridge.Add(callback);
            }
        }
Exemple #3
0
        /// <summary>
        ///
        /// </summary>
        public void Clear()
        {
            if (_bridge == null)
            {
                _bridge = this.owner.GetEventBridge(_type);
            }

            _bridge.Clear();
        }