Off() public method

public Off ( string event_ ) : void
event_ string
return void
Example #1
0
 private void CancelRefEvent()
 {
     if (_refEvent != null)
     {
         _channel.Off(_refEvent);
     }
 }
Example #2
0
        //cancelRefEvent(){ if(!this.refEvent){ return }
        //  this.channel.off(this.refEvent)
        //}
        private void CancelRefEvent()
        {
            if (_refEvent == null)
            {
                return;
            }

            _channel.Off(_refEvent);
        }