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