private void UpdateList() { if (IsDisposed) { return; } if (DataBinding == null) { DataBinding = new FilesToCleanBinding(Repository, _lstFilesToClear); } DataBinding.IncludePattern = IncludePattern; DataBinding.ExcludePattern = ExcludePattern; DataBinding.CleanFilesMode = Mode; DataBinding.IncludeDirectories = RemoveDirectories; DataBinding.ReloadData(); }
private void UpdateList() { if(IsDisposed) { return; } if(DataBinding == null) { DataBinding = new FilesToCleanBinding(Repository, _lstFilesToClear); } DataBinding.IncludePattern = IncludePattern; DataBinding.ExcludePattern = ExcludePattern; DataBinding.CleanFilesMode = Mode; DataBinding.IncludeDirectories = RemoveDirectories; DataBinding.ReloadData(); }