mgpk-politex-zadania
/
Default.rd.xml
36 строк · 1.5 Кб
1<!--
2This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
3developers. However, you can modify these parameters to modify the behavior of the .NET Native
4optimizer.
5
6Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919
7
8To fully enable reflection for App1.MyClass and all of its public/private members
9<Type Name="App1.MyClass" Dynamic="Required All"/>
10
11To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
12<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
13
14Using the Namespace directive to apply reflection policy to all the types in a particular namespace
15<Namespace Name="DataClasses.ViewModels" Serialize="All" />
16-->
17
18<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">19<Application>20<!--21An Assembly element with Name="*Application*" applies to all assemblies in
22the application package. The asterisks are not wildcards.
23-->
24<Assembly Name="*Application*" Dynamic="Required All" />25
26
27<!-- Add your application specific runtime directives here. -->28<Type Name="Windows.Foundation.TypedEventHandler{Microsoft.UI.Xaml.Controls.NavigationView,Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs}" MarshalObject="Public" />29
30<Type Name="Microsoft.UI.Xaml.Controls.NavigationView">31<Event Name="ItemInvoked" Dynamic="Required"/>32</Type>33
34
35</Application>36</Directives>