Example #1
0
 private void OnHostUp(Host h)
 {
     HostsEvent?.Invoke(h, new HostsEventArgs {
         Address = h.Address, What = HostsEventArgs.Kind.Up
     });
 }
Example #2
0
 private void OnHostDown(Host h)
 {
     HostsEvent?.Invoke(this, new HostsEventArgs {
         Address = h.Address, What = HostsEventArgs.Kind.Down
     });
 }