示例#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);
        }