Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is ApplicationInitializationCallbackParams sealed?

Tags:

c#

uwp

The MSDN documentation states

"A class that developers should derive from in order to pass information for a custom initialization sequence, in cases where both an Application subclass is present and the entry point Start call is adjusted to pass the information."

But the ApplicationInitializationCallbackParams class is sealed. Why?

like image 219
Udo Avatar asked Nov 09 '22 13:11

Udo


1 Answers

ApplicationInitializationCallbackParams was introduced along with Windows 8. At the time, it was not sealed. This got changed with the move to WinRT/UWP where you do not implement Application.Start manually, but the documentation was mistakenly not updated.

like image 173
Shaun Hamman Avatar answered Nov 15 '22 11:11

Shaun Hamman