public void RemoveVisibleResource(string name) { lock (this) { RemoveState(visibleList, name); visListChange = true; } }