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

            OnDiscoveryCompleted(result);
        }