Esempio n. 1
0
 internal static void Raise(this OnPeerDisconnected @event, object sender, PeerEventArgs e)
 {
     if (@event != null)
     {
         @event(sender, e);
     }
 }
Esempio n. 2
0
 internal static void Raise(this OnPeerSynchronized @event, object sender, PeerEventArgs e)
 {
     if (@event != null)
     {
         @event(sender, e);
     }
 }
Esempio n. 3
0
 internal static void Raise(this OnSocketOperationCreated @event, object sender, PeerEventArgs e)
 {
     if (@event != null)
     {
         @event(sender, e);
     }
 }