예제 #1
0
 private void ExecuteClearCommand()
 {
     lock (_object)
     {
         UrlsList.Clear();
     }
 }
예제 #2
0
 public override void Cleanup()
 {
     _tokenSource.Cancel();
     UrlsList.Clear();
     lock (_object)
     {
         _numberList.Clear();
     }
     base.Cleanup();
 }