public void AddDeleteResource(TableState resource) { lock (this) { deleteList.Add(resource); delListChange = true; } }