Exemple #1
0
 void OnDiscoveryCompleted(HubDiscoreryResult hubDiscoreryResult)
 {
     DiscoveryCompleted?.Invoke(this, new HubDisoveryCompletedEventArgs(hubDiscoreryResult));
 }
Exemple #2
0
 public HubDisoveryCompletedEventArgs(HubDiscoreryResult hubDiscoreryResult)
 {
     Result = hubDiscoreryResult;
 }
Exemple #3
0
        private void HubDiscoveryWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            HubDiscoreryResult result = e.Result as HubDiscoreryResult;

            OnDiscoveryCompleted(result);
        }