MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / App

Method App

FastCopy/App.xaml.cpp:36–50  ·  view source on GitHub ↗

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().

Source from the content-addressed store, hash-verified

34/// executed, and as such is the logical equivalent of main() or WinMain().
35/// </summary>
36App::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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected