diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 59e5bb4..e5d76a1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,9 +41,7 @@ If you make changes to the [package TypeScript files](./package/src/), be sure t ### Prepare and submit a PR 1. Once changes are ready, run `yarn change` at the root of the repository to create a patch (it will ask for a description of the change). The version scheme we use is [SemVer](https://semver.org/) -2. Update the package version by running `yarn bump` 3. Open a pull request and address review feedback. -4. After the PR is merged, manually trigger a publish from GitHub to publish to npm. ## Technical details You can find more details to setting up in the [Technical Guide](TechnicalGuide.md). \ No newline at end of file diff --git a/change/react-native-xaml-ba9d2fc3-2545-49db-a1e8-161d3f1f3811.json b/change/react-native-xaml-ba9d2fc3-2545-49db-a1e8-161d3f1f3811.json new file mode 100644 index 0000000..e0686f4 --- /dev/null +++ b/change/react-native-xaml-ba9d2fc3-2545-49db-a1e8-161d3f1f3811.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix EventAttachInfo struct so it holds onto a ref-counted instance of XamlMetadata, as well as removes dangerous pass-by-reference instances when dealing with async code.", + "packageName": "react-native-xaml", + "email": "maxben@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/package/Codegen/TypeEvents.cs b/package/Codegen/TypeEvents.cs index 2b196d1..bcabc1c 100644 --- a/package/Codegen/TypeEvents.cs +++ b/package/Codegen/TypeEvents.cs @@ -59,28 +59,28 @@ public virtual string TransformText() "\r\n__declspec(noinline) T DoTheTypeChecking(const winrt::Windows::Foundation::IIn" + "spectable& ii, bool isWrapped) {\r\n auto o = isWrapped ? Unwrap(ii) : ii.try_" + "as();\r\n return o;\r\n}\r\n\r\ntemplate\r\n__declspec(noinline) void Disp" + - "atchTheEvent(const EventAttachInfo& eai, const winrt::Windows::Foundation::IInsp" + - "ectable& sender, const T& args) {\r\n auto senderAsFE = sender.try_as();\r\n auto wEN = winrt::to_hstring(eai.jsEventName);\r\n if (eai.xamlMetad" + - "ata.m_receiveEvent.has_value()) {\r\n const auto tag = XamlMetadata::TagFromEle" + + "atchTheEvent(const EventAttachInfo eai, const winrt::Windows::Foundation::IInspe" + + "ctable& sender, const T& args) {\r\n auto senderAsFE = sender.try_as();\r\n auto wEN = winrt::to_hstring(eai.jsEventName);\r\n if (eai.xamlMetada" + + "ta->m_receiveEvent.has_value()) {\r\n const auto tag = XamlMetadata::TagFromEle" + "ment(eai.obj.as());\r\n ExecuteJsi(eai.context, [metada" + - "ta = eai.xamlMetadata.shared_from_this(), tag, senderAsFE, args, eventName = eai" + - ".jsEventName](facebook::jsi::Runtime& rt) {\r\n auto objSender = std::make_sh" + - "ared(senderAsFE, metadata);\r\n auto objArgs = std::make_shared(args, metadata);\r\n auto obj = std::make_shared(rt);\r\n obj->setProperty(rt, \"sender\", rt.global().createFromHostObjec" + - "t(rt, objSender));\r\n obj->setProperty(rt, \"args\", rt.global().createFromHos" + - "tObject(rt, objArgs));\r\n\r\n metadata->JsiDispatchEvent(rt, tag, std::string(" + - "eventName), obj);\r\n });\r\n }\r\n else {\r\n XamlUIService::FromContext(eai." + - "context).DispatchEvent(eai.obj.try_as(), wEN.c_str(),\r\n " + - " [senderAsFE, args](const winrt::Microsoft::ReactNative::IJSValueWriter& evt" + - "DataWriter) {\r\n SerializeEventArgs(evtDataWriter, senderAsFE, args);\r\n " + - " });\r\n }\r\n};\r\n\r\n/*static*/ const EventInfo EventInfo::xamlEventMap[] = {\r\n"); + "ta = eai.xamlMetadata, tag, senderAsFE, args, eventName = eai.jsEventName](faceb" + + "ook::jsi::Runtime& rt) {\r\n auto objSender = std::make_shared(se" + + "nderAsFE, metadata);\r\n auto objArgs = std::make_shared(args, me" + + "tadata);\r\n auto obj = std::make_shared(rt);\r\n o" + + "bj->setProperty(rt, \"sender\", rt.global().createFromHostObject(rt, objSender));\r" + + "\n obj->setProperty(rt, \"args\", rt.global().createFromHostObject(rt, objArgs" + + "));\r\n\r\n metadata->JsiDispatchEvent(rt, tag, std::string(eventName), obj);\r\n" + + " });\r\n }\r\n else {\r\n XamlUIService::FromContext(eai.context).DispatchEv" + + "ent(eai.obj.try_as(), wEN.c_str(),\r\n [senderAsFE, a" + + "rgs](const winrt::Microsoft::ReactNative::IJSValueWriter& evtDataWriter) {\r\n " + + " SerializeEventArgs(evtDataWriter, senderAsFE, args);\r\n });\r\n }\r\n};\r\n\r\n" + + "/*static*/ const EventInfo EventInfo::xamlEventMap[] = {\r\n"); foreach (var evt in Events) { this.Write(" {\""); this.Write(this.ToStringHelper.ToStringWithCulture(evt.GetName())); - this.Write("\", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexc" + - "ept {\r\n if (const auto& c = DoTheTypeChecking<"); + this.Write("\", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexce" + + "pt {\r\n if (const auto& c = DoTheTypeChecking<"); this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetCppWinRTType(evt.DeclaringType))); this.Write(">(eai.obj, isWrapped)) {\r\n if (!token) {\r\n return c."); this.Write(this.ToStringHelper.ToStringWithCulture(evt.GetName())); diff --git a/package/Codegen/TypeEvents.tt b/package/Codegen/TypeEvents.tt index 7eeb5d0..ef71903 100644 --- a/package/Codegen/TypeEvents.tt +++ b/package/Codegen/TypeEvents.tt @@ -39,12 +39,12 @@ __declspec(noinline) T DoTheTypeChecking(const winrt::Windows::Foundation::IInsp } template -__declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const winrt::Windows::Foundation::IInspectable& sender, const T& args) { +__declspec(noinline) void DispatchTheEvent(const EventAttachInfo eai, const winrt::Windows::Foundation::IInspectable& sender, const T& args) { auto senderAsFE = sender.try_as(); auto wEN = winrt::to_hstring(eai.jsEventName); - if (eai.xamlMetadata.m_receiveEvent.has_value()) { + if (eai.xamlMetadata->m_receiveEvent.has_value()) { const auto tag = XamlMetadata::TagFromElement(eai.obj.as()); - ExecuteJsi(eai.context, [metadata = eai.xamlMetadata.shared_from_this(), tag, senderAsFE, args, eventName = eai.jsEventName](facebook::jsi::Runtime& rt) { + ExecuteJsi(eai.context, [metadata = eai.xamlMetadata, tag, senderAsFE, args, eventName = eai.jsEventName](facebook::jsi::Runtime& rt) { auto objSender = std::make_shared(senderAsFE, metadata); auto objArgs = std::make_shared(args, metadata); auto obj = std::make_shared(rt); @@ -64,7 +64,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win /*static*/ const EventInfo EventInfo::xamlEventMap[] = { <# foreach (var evt in Events) { #> - {"<#= evt.GetName() #>", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"<#= evt.GetName() #>", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking<<#= Util.GetCppWinRTType(evt.DeclaringType) #>>(eai.obj, isWrapped)) { if (!token) { return c.<#= evt.GetName() #>([eai] (<#= Util.GetCppWinRTEventSignature(evt) #>) noexcept { diff --git a/package/windows/ReactNativeXaml/Codegen/TypeEvents.g.h b/package/windows/ReactNativeXaml/Codegen/TypeEvents.g.h index 9fbf4cf..7643e58 100644 --- a/package/windows/ReactNativeXaml/Codegen/TypeEvents.g.h +++ b/package/windows/ReactNativeXaml/Codegen/TypeEvents.g.h @@ -33,12 +33,12 @@ __declspec(noinline) T DoTheTypeChecking(const winrt::Windows::Foundation::IInsp } template -__declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const winrt::Windows::Foundation::IInspectable& sender, const T& args) { +__declspec(noinline) void DispatchTheEvent(const EventAttachInfo eai, const winrt::Windows::Foundation::IInspectable& sender, const T& args) { auto senderAsFE = sender.try_as(); auto wEN = winrt::to_hstring(eai.jsEventName); - if (eai.xamlMetadata.m_receiveEvent.has_value()) { + if (eai.xamlMetadata->m_receiveEvent.has_value()) { const auto tag = XamlMetadata::TagFromElement(eai.obj.as()); - ExecuteJsi(eai.context, [metadata = eai.xamlMetadata.shared_from_this(), tag, senderAsFE, args, eventName = eai.jsEventName](facebook::jsi::Runtime& rt) { + ExecuteJsi(eai.context, [metadata = eai.xamlMetadata, tag, senderAsFE, args, eventName = eai.jsEventName](facebook::jsi::Runtime& rt) { auto objSender = std::make_shared(senderAsFE, metadata); auto objArgs = std::make_shared(args, metadata); auto obj = std::make_shared(rt); @@ -57,7 +57,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win }; /*static*/ const EventInfo EventInfo::xamlEventMap[] = { - {"ItemClicked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemClicked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemClicked([eai] (const winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar& sender, const winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBarItemClickedEventArgs& args) noexcept { @@ -70,7 +70,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ColorChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ColorChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ColorChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::ColorPicker& sender, const winrt::Microsoft::UI::Xaml::Controls::ColorChangedEventArgs& args) noexcept { @@ -83,7 +83,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Collapsed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Collapsed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Collapsed([eai] (const winrt::Microsoft::UI::Xaml::Controls::Expander& sender, const winrt::Microsoft::UI::Xaml::Controls::ExpanderCollapsedEventArgs& args) noexcept { @@ -96,7 +96,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Expanding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Expanding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Expanding([eai] (const winrt::Microsoft::UI::Xaml::Controls::Expander& sender, const winrt::Microsoft::UI::Xaml::Controls::ExpanderExpandingEventArgs& args) noexcept { @@ -109,7 +109,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CloseButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CloseButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CloseButtonClick([eai] (const winrt::Microsoft::UI::Xaml::Controls::InfoBar& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -122,7 +122,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Microsoft::UI::Xaml::Controls::InfoBar& sender, const winrt::Microsoft::UI::Xaml::Controls::InfoBarClosedEventArgs& args) noexcept { @@ -135,7 +135,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closing([eai] (const winrt::Microsoft::UI::Xaml::Controls::InfoBar& sender, const winrt::Microsoft::UI::Xaml::Controls::InfoBarClosingEventArgs& args) noexcept { @@ -148,7 +148,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ElementClearing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ElementClearing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ElementClearing([eai] (const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater& sender, const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeaterElementClearingEventArgs& args) noexcept { @@ -161,7 +161,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ElementIndexChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ElementIndexChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ElementIndexChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater& sender, const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeaterElementIndexChangedEventArgs& args) noexcept { @@ -174,7 +174,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ElementPrepared", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ElementPrepared", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ElementPrepared([eai] (const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater& sender, const winrt::Microsoft::UI::Xaml::Controls::ItemsRepeaterElementPreparedEventArgs& args) noexcept { @@ -187,7 +187,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DisplayModeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DisplayModeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DisplayModeChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs& args) noexcept { @@ -200,7 +200,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemInvoked([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs& args) noexcept { @@ -213,7 +213,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs& args) noexcept { @@ -226,7 +226,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BackRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BackRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BackRequested([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs& args) noexcept { @@ -239,7 +239,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Collapsed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Collapsed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Collapsed([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemCollapsedEventArgs& args) noexcept { @@ -252,7 +252,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Expanding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Expanding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Expanding([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemExpandingEventArgs& args) noexcept { @@ -265,7 +265,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosed([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -278,7 +278,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosing([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Microsoft::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs& args) noexcept { @@ -291,7 +291,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpened([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -304,7 +304,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpening([eai] (const winrt::Microsoft::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -317,7 +317,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ValueChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ValueChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ValueChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::NumberBox& sender, const winrt::Microsoft::UI::Xaml::Controls::NumberBoxValueChangedEventArgs& args) noexcept { @@ -330,7 +330,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectedIndexChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectedIndexChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectedIndexChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::PipsPager& sender, const winrt::Microsoft::UI::Xaml::Controls::PipsPagerSelectedIndexChangedEventArgs& args) noexcept { @@ -343,7 +343,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ColorChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ColorChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ColorChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum& sender, const winrt::Microsoft::UI::Xaml::Controls::ColorChangedEventArgs& args) noexcept { @@ -356,7 +356,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs& args) noexcept { @@ -369,7 +369,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ValueChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ValueChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ValueChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::RatingControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -382,7 +382,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshRequested([eai] (const winrt::Microsoft::UI::Xaml::Controls::RefreshContainer& sender, const winrt::Microsoft::UI::Xaml::Controls::RefreshRequestedEventArgs& args) noexcept { @@ -395,7 +395,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshRequested([eai] (const winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer& sender, const winrt::Microsoft::UI::Xaml::Controls::RefreshRequestedEventArgs& args) noexcept { @@ -408,7 +408,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshStateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshStateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshStateChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer& sender, const winrt::Microsoft::UI::Xaml::Controls::RefreshStateChangedEventArgs& args) noexcept { @@ -421,7 +421,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Click", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Click", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Click([eai] (const winrt::Microsoft::UI::Xaml::Controls::SplitButton& sender, const winrt::Microsoft::UI::Xaml::Controls::SplitButtonClickEventArgs& args) noexcept { @@ -434,7 +434,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AddTabButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AddTabButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AddTabButtonClick([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -447,7 +447,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs& args) noexcept { @@ -460,7 +460,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabCloseRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabCloseRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabCloseRequested([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Microsoft::UI::Xaml::Controls::TabViewTabCloseRequestedEventArgs& args) noexcept { @@ -473,7 +473,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabDragCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabDragCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabDragCompleted([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Microsoft::UI::Xaml::Controls::TabViewTabDragCompletedEventArgs& args) noexcept { @@ -486,7 +486,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabDragStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabDragStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabDragStarting([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Microsoft::UI::Xaml::Controls::TabViewTabDragStartingEventArgs& args) noexcept { @@ -499,7 +499,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabDroppedOutside", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabDroppedOutside", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabDroppedOutside([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Microsoft::UI::Xaml::Controls::TabViewTabDroppedOutsideEventArgs& args) noexcept { @@ -512,7 +512,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabItemsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabItemsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabItemsChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabView& sender, const winrt::Windows::Foundation::Collections::IVectorChangedEventArgs& args) noexcept { @@ -525,7 +525,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabStripDragOver", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabStripDragOver", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabStripDragOver([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -538,7 +538,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TabStripDrop", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TabStripDrop", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TabStripDrop([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -551,7 +551,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CloseRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CloseRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CloseRequested([eai] (const winrt::Microsoft::UI::Xaml::Controls::TabViewItem& sender, const winrt::Microsoft::UI::Xaml::Controls::TabViewTabCloseRequestedEventArgs& args) noexcept { @@ -564,7 +564,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ActionButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ActionButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ActionButtonClick([eai] (const winrt::Microsoft::UI::Xaml::Controls::TeachingTip& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -577,7 +577,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CloseButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CloseButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CloseButtonClick([eai] (const winrt::Microsoft::UI::Xaml::Controls::TeachingTip& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -590,7 +590,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Microsoft::UI::Xaml::Controls::TeachingTip& sender, const winrt::Microsoft::UI::Xaml::Controls::TeachingTipClosedEventArgs& args) noexcept { @@ -603,7 +603,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closing([eai] (const winrt::Microsoft::UI::Xaml::Controls::TeachingTip& sender, const winrt::Microsoft::UI::Xaml::Controls::TeachingTipClosingEventArgs& args) noexcept { @@ -616,7 +616,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsCheckedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsCheckedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsCheckedChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButton& sender, const winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs& args) noexcept { @@ -629,7 +629,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Collapsed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Collapsed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Collapsed([eai] (const winrt::Microsoft::UI::Xaml::Controls::TreeView& sender, const winrt::Microsoft::UI::Xaml::Controls::TreeViewCollapsedEventArgs& args) noexcept { @@ -642,7 +642,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Expanding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Expanding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Expanding([eai] (const winrt::Microsoft::UI::Xaml::Controls::TreeView& sender, const winrt::Microsoft::UI::Xaml::Controls::TreeViewExpandingEventArgs& args) noexcept { @@ -655,7 +655,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemInvoked([eai] (const winrt::Microsoft::UI::Xaml::Controls::TreeView& sender, const winrt::Microsoft::UI::Xaml::Controls::TreeViewItemInvokedEventArgs& args) noexcept { @@ -668,7 +668,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsCompleted([eai] (const winrt::Microsoft::UI::Xaml::Controls::TreeView& sender, const winrt::Microsoft::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs& args) noexcept { @@ -681,7 +681,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsStarting([eai] (const winrt::Microsoft::UI::Xaml::Controls::TreeView& sender, const winrt::Microsoft::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs& args) noexcept { @@ -694,7 +694,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ModeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ModeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ModeChanged([eai] (const winrt::Microsoft::UI::Xaml::Controls::TwoPaneView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -707,7 +707,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CoreProcessFailed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CoreProcessFailed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CoreProcessFailed([eai] (const winrt::Microsoft::UI::Xaml::Controls::WebView2& sender, const winrt::Microsoft::Web::WebView2::Core::CoreWebView2ProcessFailedEventArgs& args) noexcept { @@ -720,7 +720,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CoreWebView2Initialized", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CoreWebView2Initialized", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CoreWebView2Initialized([eai] (const winrt::Microsoft::UI::Xaml::Controls::WebView2& sender, const winrt::Microsoft::UI::Xaml::Controls::CoreWebView2InitializedEventArgs& args) noexcept { @@ -733,7 +733,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationCompleted([eai] (const winrt::Microsoft::UI::Xaml::Controls::WebView2& sender, const winrt::Microsoft::Web::WebView2::Core::CoreWebView2NavigationCompletedEventArgs& args) noexcept { @@ -746,7 +746,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationStarting([eai] (const winrt::Microsoft::UI::Xaml::Controls::WebView2& sender, const winrt::Microsoft::Web::WebView2::Core::CoreWebView2NavigationStartingEventArgs& args) noexcept { @@ -759,7 +759,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"WebMessageReceived", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"WebMessageReceived", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.WebMessageReceived([eai] (const winrt::Microsoft::UI::Xaml::Controls::WebView2& sender, const winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebMessageReceivedEventArgs& args) noexcept { @@ -772,7 +772,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DoubleTapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DoubleTapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DoubleTapped([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs& args) noexcept { @@ -785,7 +785,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragEnter", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragEnter", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragEnter([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -798,7 +798,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragLeave", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragLeave", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragLeave([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -811,7 +811,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragOver", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragOver", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragOver([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -824,7 +824,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Drop", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Drop", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Drop([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DragEventArgs& args) noexcept { @@ -837,7 +837,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"GotFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"GotFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.GotFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -850,7 +850,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Holding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Holding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Holding([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs& args) noexcept { @@ -863,7 +863,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LostFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LostFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LostFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -876,7 +876,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ManipulationCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ManipulationCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ManipulationCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs& args) noexcept { @@ -889,7 +889,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ManipulationDelta", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ManipulationDelta", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ManipulationDelta([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs& args) noexcept { @@ -902,7 +902,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ManipulationInertiaStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ManipulationInertiaStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ManipulationInertiaStarting([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs& args) noexcept { @@ -915,7 +915,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ManipulationStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ManipulationStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ManipulationStarted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs& args) noexcept { @@ -928,7 +928,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ManipulationStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ManipulationStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ManipulationStarting([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs& args) noexcept { @@ -941,7 +941,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerCanceled", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerCanceled", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerCanceled([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -954,7 +954,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerCaptureLost", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerCaptureLost", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerCaptureLost([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -967,7 +967,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerEntered", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerEntered", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerEntered([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -980,7 +980,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerExited", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerExited", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerExited([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -993,7 +993,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerMoved", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerMoved", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerMoved([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -1006,7 +1006,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerPressed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerPressed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerPressed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -1019,7 +1019,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerReleased", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerReleased", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerReleased([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -1032,7 +1032,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PointerWheelChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PointerWheelChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PointerWheelChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs& args) noexcept { @@ -1045,7 +1045,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RightTapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RightTapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RightTapped([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs& args) noexcept { @@ -1058,7 +1058,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Tapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Tapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Tapped([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs& args) noexcept { @@ -1071,7 +1071,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragStarting([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::DragStartingEventArgs& args) noexcept { @@ -1084,7 +1084,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DropCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DropCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DropCompleted([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::DropCompletedEventArgs& args) noexcept { @@ -1097,7 +1097,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyDisplayDismissed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyDisplayDismissed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyDisplayDismissed([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs& args) noexcept { @@ -1110,7 +1110,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyDisplayRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyDisplayRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyDisplayRequested([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs& args) noexcept { @@ -1123,7 +1123,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyInvoked([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs& args) noexcept { @@ -1136,7 +1136,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextCanceled", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextCanceled", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextCanceled([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1149,7 +1149,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextRequested([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs& args) noexcept { @@ -1162,7 +1162,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"GettingFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"GettingFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.GettingFocus([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs& args) noexcept { @@ -1175,7 +1175,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LosingFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LosingFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LosingFocus([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs& args) noexcept { @@ -1188,7 +1188,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NoFocusCandidateFound", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NoFocusCandidateFound", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NoFocusCandidateFound([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs& args) noexcept { @@ -1201,7 +1201,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CharacterReceived", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CharacterReceived", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CharacterReceived([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs& args) noexcept { @@ -1214,7 +1214,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PreviewKeyDown", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PreviewKeyDown", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PreviewKeyDown([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs& args) noexcept { @@ -1227,7 +1227,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PreviewKeyUp", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PreviewKeyUp", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PreviewKeyUp([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs& args) noexcept { @@ -1240,7 +1240,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ProcessKeyboardAccelerators", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ProcessKeyboardAccelerators", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ProcessKeyboardAccelerators([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs& args) noexcept { @@ -1253,7 +1253,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BringIntoViewRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BringIntoViewRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BringIntoViewRequested([eai] (const winrt::Windows::UI::Xaml::UIElement& sender, const winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs& args) noexcept { @@ -1266,7 +1266,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LayoutUpdated", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LayoutUpdated", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LayoutUpdated([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1279,7 +1279,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Loaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Loaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Loaded([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1292,7 +1292,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SizeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SizeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SizeChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::SizeChangedEventArgs& args) noexcept { @@ -1305,7 +1305,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Unloaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Unloaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Unloaded([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1318,7 +1318,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DataContextChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DataContextChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DataContextChanged([eai] (const winrt::Windows::UI::Xaml::FrameworkElement& sender, const winrt::Windows::UI::Xaml::DataContextChangedEventArgs& args) noexcept { @@ -1331,7 +1331,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Loading", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Loading", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Loading([eai] (const winrt::Windows::UI::Xaml::FrameworkElement& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1344,7 +1344,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ActualThemeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ActualThemeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ActualThemeChanged([eai] (const winrt::Windows::UI::Xaml::FrameworkElement& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1357,7 +1357,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"EffectiveViewportChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"EffectiveViewportChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.EffectiveViewportChanged([eai] (const winrt::Windows::UI::Xaml::FrameworkElement& sender, const winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs& args) noexcept { @@ -1370,7 +1370,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsEnabledChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsEnabledChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsEnabledChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::DependencyPropertyChangedEventArgs& args) noexcept { @@ -1383,7 +1383,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FocusDisengaged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FocusDisengaged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FocusDisengaged([eai] (const winrt::Windows::UI::Xaml::Controls::Control& sender, const winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs& args) noexcept { @@ -1396,7 +1396,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FocusEngaged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FocusEngaged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FocusEngaged([eai] (const winrt::Windows::UI::Xaml::Controls::Control& sender, const winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs& args) noexcept { @@ -1409,7 +1409,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1422,7 +1422,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1435,7 +1435,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closing([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1448,7 +1448,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1461,7 +1461,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Click", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Click", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Click([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1474,7 +1474,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Checked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Checked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Checked([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1487,7 +1487,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Indeterminate", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Indeterminate", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Indeterminate([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1500,7 +1500,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Unchecked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Unchecked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Unchecked([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -1513,7 +1513,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SuggestionChosen", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SuggestionChosen", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SuggestionChosen([eai] (const winrt::Windows::UI::Xaml::Controls::AutoSuggestBox& sender, const winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs& args) noexcept { @@ -1526,7 +1526,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextChanged([eai] (const winrt::Windows::UI::Xaml::Controls::AutoSuggestBox& sender, const winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs& args) noexcept { @@ -1539,7 +1539,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"QuerySubmitted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"QuerySubmitted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.QuerySubmitted([eai] (const winrt::Windows::UI::Xaml::Controls::AutoSuggestBox& sender, const winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs& args) noexcept { @@ -1552,7 +1552,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CalendarViewDayItemChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CalendarViewDayItemChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CalendarViewDayItemChanging([eai] (const winrt::Windows::UI::Xaml::Controls::CalendarView& sender, const winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs& args) noexcept { @@ -1565,7 +1565,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1578,7 +1578,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DateChanged([eai] (const winrt::Windows::UI::Xaml::Controls::CalendarDatePicker& sender, const winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs& args) noexcept { @@ -1591,7 +1591,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1604,7 +1604,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CalendarViewDayItemChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CalendarViewDayItemChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CalendarViewDayItemChanging([eai] (const winrt::Windows::UI::Xaml::Controls::CalendarView& sender, const winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs& args) noexcept { @@ -1617,7 +1617,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectedDatesChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectedDatesChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectedDatesChanged([eai] (const winrt::Windows::UI::Xaml::Controls::CalendarView& sender, const winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs& args) noexcept { @@ -1630,7 +1630,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ColorChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ColorChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ColorChanged([eai] (const winrt::Windows::UI::Xaml::Controls::ColorPicker& sender, const winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs& args) noexcept { @@ -1643,7 +1643,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs& args) noexcept { @@ -1656,7 +1656,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DropDownClosed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DropDownClosed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DropDownClosed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1669,7 +1669,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DropDownOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DropDownOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DropDownOpened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1682,7 +1682,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextSubmitted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextSubmitted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextSubmitted([eai] (const winrt::Windows::UI::Xaml::Controls::ComboBox& sender, const winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs& args) noexcept { @@ -1695,7 +1695,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DynamicOverflowItemsChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DynamicOverflowItemsChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DynamicOverflowItemsChanging([eai] (const winrt::Windows::UI::Xaml::Controls::CommandBar& sender, const winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs& args) noexcept { @@ -1708,7 +1708,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1721,7 +1721,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1734,7 +1734,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -1747,7 +1747,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closing([eai] (const winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs& args) noexcept { @@ -1760,7 +1760,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs& args) noexcept { @@ -1773,7 +1773,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closing([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs& args) noexcept { @@ -1786,7 +1786,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs& args) noexcept { @@ -1799,7 +1799,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PrimaryButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PrimaryButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PrimaryButtonClick([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs& args) noexcept { @@ -1812,7 +1812,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SecondaryButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SecondaryButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SecondaryButtonClick([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs& args) noexcept { @@ -1825,7 +1825,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CloseButtonClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CloseButtonClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CloseButtonClick([eai] (const winrt::Windows::UI::Xaml::Controls::ContentDialog& sender, const winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs& args) noexcept { @@ -1838,7 +1838,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DateChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs& args) noexcept { @@ -1851,7 +1851,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectedDateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectedDateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectedDateChanged([eai] (const winrt::Windows::UI::Xaml::Controls::DatePicker& sender, const winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs& args) noexcept { @@ -1864,7 +1864,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DatePicked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DatePicked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DatePicked([eai] (const winrt::Windows::UI::Xaml::Controls::DatePickerFlyout& sender, const winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs& args) noexcept { @@ -1877,7 +1877,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Navigated", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Navigated", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Navigated([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs& args) noexcept { @@ -1890,7 +1890,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Navigating", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Navigating", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Navigating([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs& args) noexcept { @@ -1903,7 +1903,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationFailed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationFailed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationFailed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventArgs& args) noexcept { @@ -1916,7 +1916,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationStopped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationStopped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationStopped([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs& args) noexcept { @@ -1929,7 +1929,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsStarting([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventArgs& args) noexcept { @@ -1942,7 +1942,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemClick([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ItemClickEventArgs& args) noexcept { @@ -1955,7 +1955,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContainerContentChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContainerContentChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContainerContentChanging([eai] (const winrt::Windows::UI::Xaml::Controls::ListViewBase& sender, const winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs& args) noexcept { @@ -1968,7 +1968,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ChoosingGroupHeaderContainer", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ChoosingGroupHeaderContainer", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ChoosingGroupHeaderContainer([eai] (const winrt::Windows::UI::Xaml::Controls::ListViewBase& sender, const winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs& args) noexcept { @@ -1981,7 +1981,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ChoosingItemContainer", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ChoosingItemContainer", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ChoosingItemContainer([eai] (const winrt::Windows::UI::Xaml::Controls::ListViewBase& sender, const winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs& args) noexcept { @@ -1994,7 +1994,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsCompleted([eai] (const winrt::Windows::UI::Xaml::Controls::ListViewBase& sender, const winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs& args) noexcept { @@ -2007,7 +2007,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::UI::Xaml::Controls::HandwritingView& sender, const winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs& args) noexcept { @@ -2020,7 +2020,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::UI::Xaml::Controls::HandwritingView& sender, const winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs& args) noexcept { @@ -2033,7 +2033,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SectionHeaderClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SectionHeaderClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SectionHeaderClick([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventArgs& args) noexcept { @@ -2046,7 +2046,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SectionsInViewChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SectionsInViewChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SectionsInViewChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventArgs& args) noexcept { @@ -2059,7 +2059,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ImageFailed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ImageFailed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ImageFailed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::ExceptionRoutedEventArgs& args) noexcept { @@ -2072,7 +2072,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ImageOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ImageOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ImageOpened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2085,7 +2085,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ActiveToolChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ActiveToolChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ActiveToolChanged([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbar& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2098,7 +2098,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"EraseAllClicked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"EraseAllClicked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.EraseAllClicked([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbar& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2111,7 +2111,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"InkDrawingAttributesChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"InkDrawingAttributesChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.InkDrawingAttributesChanged([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbar& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2124,7 +2124,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsRulerButtonCheckedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsRulerButtonCheckedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsRulerButtonCheckedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbar& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2137,7 +2137,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsStencilButtonCheckedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsStencilButtonCheckedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsStencilButtonCheckedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbar& sender, const winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs& args) noexcept { @@ -2150,7 +2150,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Checked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Checked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Checked([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2163,7 +2163,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Unchecked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Unchecked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Unchecked([eai] (const winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2176,7 +2176,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2189,7 +2189,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2202,7 +2202,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemsPicked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemsPicked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemsPicked([eai] (const winrt::Windows::UI::Xaml::Controls::ListPickerFlyout& sender, const winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs& args) noexcept { @@ -2215,7 +2215,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CenterChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CenterChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CenterChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2228,7 +2228,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HeadingChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HeadingChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HeadingChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2241,7 +2241,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LoadingStatusChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LoadingStatusChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LoadingStatusChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2254,7 +2254,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapDoubleTapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapDoubleTapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapDoubleTapped([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs& args) noexcept { @@ -2267,7 +2267,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapHolding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapHolding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapHolding([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs& args) noexcept { @@ -2280,7 +2280,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapTapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapTapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapTapped([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs& args) noexcept { @@ -2293,7 +2293,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PitchChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PitchChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PitchChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2306,7 +2306,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TransformOriginChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TransformOriginChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TransformOriginChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2319,7 +2319,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ZoomLevelChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ZoomLevelChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ZoomLevelChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2332,7 +2332,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ActualCameraChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ActualCameraChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ActualCameraChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs& args) noexcept { @@ -2345,7 +2345,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ActualCameraChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ActualCameraChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ActualCameraChanging([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs& args) noexcept { @@ -2358,7 +2358,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CustomExperienceChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CustomExperienceChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CustomExperienceChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs& args) noexcept { @@ -2371,7 +2371,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapElementClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapElementClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapElementClick([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs& args) noexcept { @@ -2384,7 +2384,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapElementPointerEntered", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapElementPointerEntered", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapElementPointerEntered([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs& args) noexcept { @@ -2397,7 +2397,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapElementPointerExited", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapElementPointerExited", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapElementPointerExited([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs& args) noexcept { @@ -2410,7 +2410,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TargetCameraChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TargetCameraChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TargetCameraChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs& args) noexcept { @@ -2423,7 +2423,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapRightTapped", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapRightTapped", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapRightTapped([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs& args) noexcept { @@ -2436,7 +2436,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MapContextRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MapContextRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MapContextRequested([eai] (const winrt::Windows::UI::Xaml::Controls::Maps::MapControl& sender, const winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs& args) noexcept { @@ -2449,7 +2449,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BufferingProgressChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BufferingProgressChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BufferingProgressChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2462,7 +2462,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CurrentStateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CurrentStateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CurrentStateChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2475,7 +2475,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DownloadProgressChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DownloadProgressChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DownloadProgressChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2488,7 +2488,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MarkerReached", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MarkerReached", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MarkerReached([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventArgs& args) noexcept { @@ -2501,7 +2501,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MediaEnded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MediaEnded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MediaEnded([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2514,7 +2514,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MediaFailed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MediaFailed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MediaFailed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::ExceptionRoutedEventArgs& args) noexcept { @@ -2527,7 +2527,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"MediaOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"MediaOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.MediaOpened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2540,7 +2540,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RateChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventArgs& args) noexcept { @@ -2553,7 +2553,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SeekCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SeekCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SeekCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2566,7 +2566,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VolumeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VolumeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VolumeChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2579,7 +2579,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PartialMediaFailureDetected", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PartialMediaFailureDetected", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PartialMediaFailureDetected([eai] (const winrt::Windows::UI::Xaml::Controls::MediaElement& sender, const winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs& args) noexcept { @@ -2592,7 +2592,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ThumbnailRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ThumbnailRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ThumbnailRequested([eai] (const winrt::Windows::UI::Xaml::Controls::MediaTransportControls& sender, const winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs& args) noexcept { @@ -2605,7 +2605,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Click", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Click", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Click([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2618,7 +2618,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DisplayModeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DisplayModeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DisplayModeChanged([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs& args) noexcept { @@ -2631,7 +2631,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemInvoked([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs& args) noexcept { @@ -2644,7 +2644,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs& args) noexcept { @@ -2657,7 +2657,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BackRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BackRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BackRequested([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs& args) noexcept { @@ -2670,7 +2670,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosed([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2683,7 +2683,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosing([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs& args) noexcept { @@ -2696,7 +2696,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpened([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2709,7 +2709,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpening([eai] (const winrt::Windows::UI::Xaml::Controls::NavigationView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2722,7 +2722,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextMenuOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextMenuOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextMenuOpening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs& args) noexcept { @@ -2735,7 +2735,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PasswordChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PasswordChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PasswordChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -2748,7 +2748,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Paste", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Paste", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Paste([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::TextControlPasteEventArgs& args) noexcept { @@ -2761,7 +2761,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PasswordChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PasswordChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PasswordChanging([eai] (const winrt::Windows::UI::Xaml::Controls::PasswordBox& sender, const winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs& args) noexcept { @@ -2774,7 +2774,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Confirmed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Confirmed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Confirmed([eai] (const winrt::Windows::UI::Xaml::Controls::PickerFlyout& sender, const winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs& args) noexcept { @@ -2787,7 +2787,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PivotItemLoaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PivotItemLoaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PivotItemLoaded([eai] (const winrt::Windows::UI::Xaml::Controls::Pivot& sender, const winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs& args) noexcept { @@ -2800,7 +2800,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PivotItemLoading", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PivotItemLoading", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PivotItemLoading([eai] (const winrt::Windows::UI::Xaml::Controls::Pivot& sender, const winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs& args) noexcept { @@ -2813,7 +2813,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PivotItemUnloaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PivotItemUnloaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PivotItemUnloaded([eai] (const winrt::Windows::UI::Xaml::Controls::Pivot& sender, const winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs& args) noexcept { @@ -2826,7 +2826,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PivotItemUnloading", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PivotItemUnloading", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PivotItemUnloading([eai] (const winrt::Windows::UI::Xaml::Controls::Pivot& sender, const winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs& args) noexcept { @@ -2839,7 +2839,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs& args) noexcept { @@ -2852,7 +2852,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2865,7 +2865,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2878,7 +2878,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ValueChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ValueChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ValueChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventArgs& args) noexcept { @@ -2891,7 +2891,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ColorChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ColorChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ColorChanged([eai] (const winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum& sender, const winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs& args) noexcept { @@ -2904,7 +2904,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs& args) noexcept { @@ -2917,7 +2917,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2930,7 +2930,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2943,7 +2943,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2956,7 +2956,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2969,7 +2969,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2982,7 +2982,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -2995,7 +2995,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3008,7 +3008,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3021,7 +3021,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Scroll", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Scroll", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Scroll([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventArgs& args) noexcept { @@ -3034,7 +3034,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventArgs& args) noexcept { @@ -3047,7 +3047,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragDelta", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragDelta", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragDelta([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventArgs& args) noexcept { @@ -3060,7 +3060,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragStarted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventArgs& args) noexcept { @@ -3073,7 +3073,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ValueChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ValueChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ValueChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RatingControl& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3086,7 +3086,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshRequested([eai] (const winrt::Windows::UI::Xaml::Controls::RefreshContainer& sender, const winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs& args) noexcept { @@ -3099,7 +3099,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshRequested([eai] (const winrt::Windows::UI::Xaml::Controls::RefreshVisualizer& sender, const winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs& args) noexcept { @@ -3112,7 +3112,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"RefreshStateChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"RefreshStateChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.RefreshStateChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RefreshVisualizer& sender, const winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs& args) noexcept { @@ -3125,7 +3125,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextMenuOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextMenuOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextMenuOpening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs& args) noexcept { @@ -3138,7 +3138,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3151,7 +3151,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3164,7 +3164,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Paste", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Paste", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Paste([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::TextControlPasteEventArgs& args) noexcept { @@ -3177,7 +3177,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CandidateWindowBoundsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CandidateWindowBoundsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CandidateWindowBoundsChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs& args) noexcept { @@ -3190,7 +3190,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextChanging([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs& args) noexcept { @@ -3203,7 +3203,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs& args) noexcept { @@ -3216,7 +3216,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionEnded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionEnded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionEnded([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs& args) noexcept { @@ -3229,7 +3229,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionStarted([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs& args) noexcept { @@ -3242,7 +3242,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CopyingToClipboard", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CopyingToClipboard", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CopyingToClipboard([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs& args) noexcept { @@ -3255,7 +3255,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CuttingToClipboard", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CuttingToClipboard", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CuttingToClipboard([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs& args) noexcept { @@ -3268,7 +3268,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContentLinkChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContentLinkChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContentLinkChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs& args) noexcept { @@ -3281,7 +3281,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContentLinkInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContentLinkInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContentLinkInvoked([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs& args) noexcept { @@ -3294,7 +3294,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanging([eai] (const winrt::Windows::UI::Xaml::Controls::RichEditBox& sender, const winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs& args) noexcept { @@ -3307,7 +3307,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextMenuOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextMenuOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextMenuOpening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs& args) noexcept { @@ -3320,7 +3320,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3333,7 +3333,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsTextTrimmedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsTextTrimmedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsTextTrimmedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RichTextBlock& sender, const winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs& args) noexcept { @@ -3346,7 +3346,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsTextTrimmedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsTextTrimmedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsTextTrimmedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow& sender, const winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs& args) noexcept { @@ -3359,7 +3359,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ViewChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ViewChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ViewChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs& args) noexcept { @@ -3372,7 +3372,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ViewChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ViewChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ViewChanging([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs& args) noexcept { @@ -3385,7 +3385,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DirectManipulationCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DirectManipulationCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DirectManipulationCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3398,7 +3398,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DirectManipulationStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DirectManipulationStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DirectManipulationStarted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3411,7 +3411,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AnchorRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AnchorRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AnchorRequested([eai] (const winrt::Windows::UI::Xaml::Controls::ScrollViewer& sender, const winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs& args) noexcept { @@ -3424,7 +3424,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PrepareForFocusOnKeyboardInput", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PrepareForFocusOnKeyboardInput", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PrepareForFocusOnKeyboardInput([eai] (const winrt::Windows::UI::Xaml::Controls::SearchBox& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3437,7 +3437,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"QueryChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"QueryChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.QueryChanged([eai] (const winrt::Windows::UI::Xaml::Controls::SearchBox& sender, const winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs& args) noexcept { @@ -3450,7 +3450,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"QuerySubmitted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"QuerySubmitted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.QuerySubmitted([eai] (const winrt::Windows::UI::Xaml::Controls::SearchBox& sender, const winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs& args) noexcept { @@ -3463,7 +3463,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ResultSuggestionChosen", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ResultSuggestionChosen", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ResultSuggestionChosen([eai] (const winrt::Windows::UI::Xaml::Controls::SearchBox& sender, const winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs& args) noexcept { @@ -3476,7 +3476,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SuggestionsRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SuggestionsRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SuggestionsRequested([eai] (const winrt::Windows::UI::Xaml::Controls::SearchBox& sender, const winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs& args) noexcept { @@ -3489,7 +3489,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ViewChangeCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ViewChangeCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ViewChangeCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventArgs& args) noexcept { @@ -3502,7 +3502,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ViewChangeStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ViewChangeStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ViewChangeStarted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventArgs& args) noexcept { @@ -3515,7 +3515,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BackClick", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BackClick", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BackClick([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::BackClickEventArgs& args) noexcept { @@ -3528,7 +3528,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Click", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Click", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Click([eai] (const winrt::Windows::UI::Xaml::Controls::SplitButton& sender, const winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs& args) noexcept { @@ -3541,7 +3541,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosed([eai] (const winrt::Windows::UI::Xaml::Controls::SplitView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3554,7 +3554,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneClosing", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneClosing", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneClosing([eai] (const winrt::Windows::UI::Xaml::Controls::SplitView& sender, const winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs& args) noexcept { @@ -3567,7 +3567,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpened([eai] (const winrt::Windows::UI::Xaml::Controls::SplitView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3580,7 +3580,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PaneOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PaneOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PaneOpening([eai] (const winrt::Windows::UI::Xaml::Controls::SplitView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3593,7 +3593,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"HorizontalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"HorizontalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.HorizontalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3606,7 +3606,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"VerticalSnapPointsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"VerticalSnapPointsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.VerticalSnapPointsChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3619,7 +3619,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CompositionScaleChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CompositionScaleChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CompositionScaleChanged([eai] (const winrt::Windows::UI::Xaml::Controls::SwapChainPanel& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -3632,7 +3632,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextMenuOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextMenuOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextMenuOpening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs& args) noexcept { @@ -3645,7 +3645,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3658,7 +3658,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsTextTrimmedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsTextTrimmedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsTextTrimmedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::TextBlock& sender, const winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs& args) noexcept { @@ -3671,7 +3671,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContextMenuOpening", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContextMenuOpening", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContextMenuOpening([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::ContextMenuEventArgs& args) noexcept { @@ -3684,7 +3684,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3697,7 +3697,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::TextChangedEventArgs& args) noexcept { @@ -3710,7 +3710,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Paste", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Paste", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Paste([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::TextControlPasteEventArgs& args) noexcept { @@ -3723,7 +3723,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CandidateWindowBoundsChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CandidateWindowBoundsChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CandidateWindowBoundsChanged([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs& args) noexcept { @@ -3736,7 +3736,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextChanging([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs& args) noexcept { @@ -3749,7 +3749,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionChanged([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs& args) noexcept { @@ -3762,7 +3762,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionEnded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionEnded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionEnded([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs& args) noexcept { @@ -3775,7 +3775,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TextCompositionStarted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TextCompositionStarted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TextCompositionStarted([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs& args) noexcept { @@ -3788,7 +3788,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"BeforeTextChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"BeforeTextChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.BeforeTextChanging([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs& args) noexcept { @@ -3801,7 +3801,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CopyingToClipboard", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CopyingToClipboard", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CopyingToClipboard([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs& args) noexcept { @@ -3814,7 +3814,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CuttingToClipboard", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CuttingToClipboard", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CuttingToClipboard([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs& args) noexcept { @@ -3827,7 +3827,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectionChanging", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectionChanging", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectionChanging([eai] (const winrt::Windows::UI::Xaml::Controls::TextBox& sender, const winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs& args) noexcept { @@ -3840,7 +3840,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TimeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TimeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TimeChanged([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs& args) noexcept { @@ -3853,7 +3853,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SelectedTimeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SelectedTimeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SelectedTimeChanged([eai] (const winrt::Windows::UI::Xaml::Controls::TimePicker& sender, const winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs& args) noexcept { @@ -3866,7 +3866,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"TimePicked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"TimePicked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.TimePicked([eai] (const winrt::Windows::UI::Xaml::Controls::TimePickerFlyout& sender, const winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs& args) noexcept { @@ -3879,7 +3879,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"IsCheckedChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"IsCheckedChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.IsCheckedChanged([eai] (const winrt::Windows::UI::Xaml::Controls::ToggleSplitButton& sender, const winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs& args) noexcept { @@ -3892,7 +3892,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Toggled", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Toggled", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Toggled([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3905,7 +3905,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Closed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Closed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Closed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3918,7 +3918,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Opened", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Opened", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Opened([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -3931,7 +3931,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Collapsed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Collapsed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Collapsed([eai] (const winrt::Windows::UI::Xaml::Controls::TreeView& sender, const winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs& args) noexcept { @@ -3944,7 +3944,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Expanding", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Expanding", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Expanding([eai] (const winrt::Windows::UI::Xaml::Controls::TreeView& sender, const winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs& args) noexcept { @@ -3957,7 +3957,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ItemInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ItemInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ItemInvoked([eai] (const winrt::Windows::UI::Xaml::Controls::TreeView& sender, const winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs& args) noexcept { @@ -3970,7 +3970,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsCompleted([eai] (const winrt::Windows::UI::Xaml::Controls::TreeView& sender, const winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs& args) noexcept { @@ -3983,7 +3983,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DragItemsStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DragItemsStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DragItemsStarting([eai] (const winrt::Windows::UI::Xaml::Controls::TreeView& sender, const winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs& args) noexcept { @@ -3996,7 +3996,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ModeChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ModeChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ModeChanged([eai] (const winrt::Windows::UI::Xaml::Controls::TwoPaneView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -4009,7 +4009,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"CleanUpVirtualizedItemEvent", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"CleanUpVirtualizedItemEvent", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.CleanUpVirtualizedItemEvent([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs& args) noexcept { @@ -4022,7 +4022,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LoadCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LoadCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LoadCompleted([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs& args) noexcept { @@ -4035,7 +4035,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationFailed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationFailed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationFailed([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventArgs& args) noexcept { @@ -4048,7 +4048,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ScriptNotify", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ScriptNotify", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ScriptNotify([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::Controls::NotifyEventArgs& args) noexcept { @@ -4061,7 +4061,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContentLoading", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContentLoading", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContentLoading([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs& args) noexcept { @@ -4074,7 +4074,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"DOMContentLoaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"DOMContentLoaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.DOMContentLoaded([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs& args) noexcept { @@ -4087,7 +4087,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FrameContentLoading", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FrameContentLoading", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FrameContentLoading([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs& args) noexcept { @@ -4100,7 +4100,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FrameDOMContentLoaded", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FrameDOMContentLoaded", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FrameDOMContentLoaded([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs& args) noexcept { @@ -4113,7 +4113,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FrameNavigationCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FrameNavigationCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FrameNavigationCompleted([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs& args) noexcept { @@ -4126,7 +4126,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"FrameNavigationStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"FrameNavigationStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.FrameNavigationStarting([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs& args) noexcept { @@ -4139,7 +4139,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LongRunningScriptDetected", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LongRunningScriptDetected", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LongRunningScriptDetected([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs& args) noexcept { @@ -4152,7 +4152,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationCompleted", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationCompleted", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationCompleted([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs& args) noexcept { @@ -4165,7 +4165,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NavigationStarting", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NavigationStarting", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NavigationStarting([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs& args) noexcept { @@ -4178,7 +4178,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"UnsafeContentWarningDisplaying", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"UnsafeContentWarningDisplaying", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.UnsafeContentWarningDisplaying([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -4191,7 +4191,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"UnviewableContentIdentified", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"UnviewableContentIdentified", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.UnviewableContentIdentified([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs& args) noexcept { @@ -4204,7 +4204,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"ContainsFullScreenElementChanged", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"ContainsFullScreenElementChanged", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.ContainsFullScreenElementChanged([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::Foundation::IInspectable& args) noexcept { @@ -4217,7 +4217,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"NewWindowRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"NewWindowRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.NewWindowRequested([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs& args) noexcept { @@ -4230,7 +4230,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"PermissionRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"PermissionRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.PermissionRequested([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs& args) noexcept { @@ -4243,7 +4243,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"UnsupportedUriSchemeIdentified", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"UnsupportedUriSchemeIdentified", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.UnsupportedUriSchemeIdentified([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs& args) noexcept { @@ -4256,7 +4256,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"SeparateProcessLost", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"SeparateProcessLost", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.SeparateProcessLost([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs& args) noexcept { @@ -4269,7 +4269,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"WebResourceRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"WebResourceRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.WebResourceRequested([eai] (const winrt::Windows::UI::Xaml::Controls::WebView& sender, const winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs& args) noexcept { @@ -4282,7 +4282,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyDisplayDismissed", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyDisplayDismissed", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyDisplayDismissed([eai] (const winrt::Windows::UI::Xaml::Documents::TextElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs& args) noexcept { @@ -4295,7 +4295,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyDisplayRequested", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyDisplayRequested", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyDisplayRequested([eai] (const winrt::Windows::UI::Xaml::Documents::TextElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs& args) noexcept { @@ -4308,7 +4308,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"AccessKeyInvoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"AccessKeyInvoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.AccessKeyInvoked([eai] (const winrt::Windows::UI::Xaml::Documents::TextElement& sender, const winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs& args) noexcept { @@ -4321,7 +4321,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"GotFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"GotFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.GotFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -4334,7 +4334,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Invoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Invoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Invoked([eai] (const winrt::Windows::UI::Xaml::Documents::ContentLink& sender, const winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs& args) noexcept { @@ -4347,7 +4347,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LostFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LostFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LostFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -4360,7 +4360,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Click", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Click", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Click([eai] (const winrt::Windows::UI::Xaml::Documents::Hyperlink& sender, const winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs& args) noexcept { @@ -4373,7 +4373,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"GotFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"GotFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.GotFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -4386,7 +4386,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"LostFocus", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"LostFocus", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.LostFocus([eai] (const winrt::Windows::Foundation::IInspectable& sender, const winrt::Windows::UI::Xaml::RoutedEventArgs& args) noexcept { @@ -4399,7 +4399,7 @@ __declspec(noinline) void DispatchTheEvent(const EventAttachInfo& eai, const win } return winrt::event_token{0}; } }, - {"Invoked", [](const EventAttachInfo& eai, bool isWrapped, winrt::event_token token) noexcept { + {"Invoked", [](const EventAttachInfo eai, bool isWrapped, winrt::event_token token) noexcept { if (const auto& c = DoTheTypeChecking(eai.obj, isWrapped)) { if (!token) { return c.Invoked([eai] (const winrt::Windows::UI::Xaml::Input::KeyboardAccelerator& sender, const winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs& args) noexcept { diff --git a/package/windows/ReactNativeXaml/XamlMetadata.cpp b/package/windows/ReactNativeXaml/XamlMetadata.cpp index f16e15d..a61e438 100644 --- a/package/windows/ReactNativeXaml/XamlMetadata.cpp +++ b/package/windows/ReactNativeXaml/XamlMetadata.cpp @@ -350,7 +350,7 @@ const EventInfo *XamlMetadata::AttachEvent( if (!attaching) { wrapper->second.events.erase(attachedEvt); } - EventAttachInfo eai{context, e, "top" + evtName, *this}; + EventAttachInfo eai{context, e, "top" + evtName, shared_from_this()}; for (const auto &entry : EventInfo::xamlEventMap) { if (Equals(MAKE_KEY(entry.name), key)) { if (!entry.attachHandler) { diff --git a/package/windows/ReactNativeXaml/XamlMetadata.h b/package/windows/ReactNativeXaml/XamlMetadata.h index 69173a5..af800bd 100644 --- a/package/windows/ReactNativeXaml/XamlMetadata.h +++ b/package/windows/ReactNativeXaml/XamlMetadata.h @@ -198,13 +198,13 @@ struct EventAttachInfo { winrt::Microsoft::ReactNative::IReactContext context{nullptr}; winrt::Windows::Foundation::IInspectable obj{nullptr}; std::string jsEventName; - const XamlMetadata &xamlMetadata; + const std::shared_ptr xamlMetadata; }; struct EventInfo { const char *const name; - using attachHandlers_t = winrt::event_token (*)(const EventAttachInfo &, bool isWrapped, winrt::event_token); + using attachHandlers_t = winrt::event_token (*)(const EventAttachInfo, bool isWrapped, winrt::event_token); attachHandlers_t attachHandler; static const EventInfo xamlEventMap[];