public void SetTaskPaneVisible(string hash, bool isVisible) { var repository = repositoryFactory.Get(); if (repository != default) { repository.SetVisible( receiverHash: hash, isVisible: isVisible); BaseProvider.InvalidateRibbonUI(); } }