private void ExecuteClearCommand() { lock (_object) { UrlsList.Clear(); } }
public override void Cleanup() { _tokenSource.Cancel(); UrlsList.Clear(); lock (_object) { _numberList.Clear(); } base.Cleanup(); }