コード例 #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);
        }