RequestThemeSwitch is very redundant
Author: Jay-o-WayCreated Sep 28, 2026Updated Sep 28, 2026
Labelsarea-internal
Many of the ViewModels declare a RequestThemeSwitch. All of them have MessageHandler.Client.SendMessageAndGetReplyAsync(Command.RequestSwitch, 15) and some have throw new SwitchThemeException(...).
This is very redundant. We should consolidate this into one service.
Use var viewModelName = GetType().Name; or GetType().FullName
Source: AutoDarkMode/Windows-Auto-Night-Mode