/// <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; }
public virtual void OnIsConenctedChanged(IsConnectedChangedEventArgs e) { this.IsConnectedChanged?.Invoke(this, e); }