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