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