Clear() public method

public Clear ( ) : void
return void
示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="callback"></param>
 public void Set(EventCallback1 callback)
 {
     _bridge.Clear();
     if (callback != null)
     {
         _bridge.Add(callback);
     }
 }
示例#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);
            }
        }
示例#3
0
        /// <summary>
        ///
        /// </summary>
        public void Clear()
        {
            if (_bridge == null)
            {
                _bridge = this.owner.GetEventBridge(_type);
            }

            _bridge.Clear();
        }