예제 #1
0
 /// <summary>
 /// Callback method called when IsConnectedChanged event raised.
 /// </summary>
 /// <param name="sender">Event sender</param>
 /// <param name="e">Value to represent event data.</param>
 public virtual void IsConnectedCallback(object sender, IsConnectedChangedEventArgs e)
 {
     this.IsConnected = e.NewValue;
 }
예제 #2
0
 public virtual void OnIsConenctedChanged(IsConnectedChangedEventArgs e)
 {
     this.IsConnectedChanged?.Invoke(this, e);
 }