public void ShowOverlay <TComponent>(string backgroundColor = "gray") where TComponent : IComponent { OverlayShowing?.Invoke( this, new OverlayOptions(typeof(TComponent), backgroundColor)); }
public void HideOverlay() { OverlayShowing?.Invoke(this, null); }