private async Task OnConnectionChanged(ConnectionChangedType type, string connectionId)
 {
     if (ConnectionChanged != null)
     {
         await ConnectionChanged(this, new ConnectionChangedEventArgs(type, connectionId));
     }
 }
Exemple #2
0
 public ConnectionChangedEventArgs(ConnectionChangedType type, string connectionId)
 {
     Type         = type;
     ConnectionId = connectionId;
 }