コード例 #1
0
 public void Listen()
 {
     if (!Successfully.IsCompleted)
     {
         Successfully.RunSynchronously();
     }
 }
コード例 #2
0
 public void Listen(object sender, EventArgs eventArgs)
 {
     if (_predicate.Invoke())
     {
         Successfully.RunSynchronously();
     }
 }
コード例 #3
0
        public void Listen(object sender, MessageBoxHideEventArgs eventArgs)
        {
            _EventArgs = eventArgs;

            if (!Successfully.IsCompleted)
            {
                Successfully.RunSynchronously();
            }
        }
コード例 #4
0
 public void Listen(object sender, EventArgs eventArgs)
 {
     this.sender    = sender;
     this.eventArgs = eventArgs;
     if (!Successfully.IsCompleted)
     {
         //Console.WriteLine("running synchornisously");
         Successfully.RunSynchronously();
     }
 }