Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
| 34 | /// executed, and as such is the logical equivalent of main() or WinMain(). |
| 35 | /// </summary> |
| 36 | App::App() |
| 37 | { |
| 38 | InitializeComponent(); |
| 39 | |
| 40 | #if defined _DEBUG && !defined DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION |
| 41 | UnhandledException([this](IInspectable const&, UnhandledExceptionEventArgs const& e) |
| 42 | { |
| 43 | if (IsDebuggerPresent()) |
| 44 | { |
| 45 | auto errorMessage = e.Message(); |
| 46 | __debugbreak(); |
| 47 | } |
| 48 | }); |
| 49 | #endif |
| 50 | } |
| 51 | |
| 52 | |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected