public static string GetInterface(this ControlPanelState state) { return(state.IsManaging() ? Interfaces.Managing : Interfaces.Viewing); }