protected virtual void OnDiscoveryComplete(ServiceReferenceDiscoveryEventArgs e)
 {
     if (DiscoveryComplete != null)
     {
         DiscoveryComplete(this, e);
     }
 }
 protected virtual void OnDiscoveryComplete(ServiceReferenceDiscoveryEventArgs e)
 {
     if (DiscoveryComplete != null) {
         DiscoveryComplete(this, e);
     }
 }