-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
511eff4
commit 7ba20e5
Showing
23 changed files
with
184 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
This file contains Runtime Directives, specifications about types your application accesses | ||
through reflection and other dynamic code patterns. Runtime Directives are used to control the | ||
.NET Native optimizer and ensure that it does not remove code accessed by your library. If your | ||
library does not do any reflection, then you generally do not need to edit this file. However, | ||
if your library reflects over types, especially types passed to it or derived from its types, | ||
then you should write Runtime Directives. | ||
The most common use of reflection in libraries is to discover information about types passed | ||
to the library. Runtime Directives have three ways to express requirements on types passed to | ||
your library. | ||
1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter | ||
Use these directives to reflect over types passed as a parameter. | ||
2. SubTypes | ||
Use a SubTypes directive to reflect over types derived from another type. | ||
3. AttributeImplies | ||
Use an AttributeImplies directive to indicate that your library needs to reflect over | ||
types or methods decorated with an attribute. | ||
For more information on writing Runtime Directives for libraries, please visit | ||
http://go.microsoft.com/fwlink/?LinkId=613100 | ||
--> | ||
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> | ||
<Library Name="LocationHelper"> | ||
|
||
<!-- add directives for your library here --> | ||
|
||
</Library> | ||
</Directives> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"dependencies": { | ||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" | ||
}, | ||
"frameworks": { | ||
"uap10.0": {} | ||
}, | ||
"runtimes": { | ||
"win10-arm": {}, | ||
"win10-arm-aot": {}, | ||
"win10-x86": {}, | ||
"win10-x86-aot": {}, | ||
"win10-x64": {}, | ||
"win10-x64-aot": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- | ||
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most | ||
developers. However, you can modify these parameters to modify the behavior of the .NET Native | ||
optimizer. | ||
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919 | ||
To fully enable reflection for TrafficApp.MyClass and all of its public/private members | ||
<Type Name="TrafficApp.MyClass" Dynamic="Required All"/> | ||
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32 | ||
<TypeInstantiation Name="TrafficApp.AppClass" Arguments="System.Int32" Activate="Required Public" /> | ||
Using the Namespace directive to apply reflection policy to all the types in a particular namespace | ||
<Namespace Name="DataClasses.ViewModels" Seralize="All" /> | ||
--> | ||
|
||
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> | ||
<Application> | ||
<!-- | ||
An Assembly element with Name="*Application*" applies to all assemblies in | ||
the application package. The asterisks are not wildcards. | ||
--> | ||
<Assembly Name="*Application*" Dynamic="Required All" /> | ||
|
||
|
||
<!-- Add your application specific runtime directives here. --> | ||
|
||
|
||
</Application> | ||
</Directives> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"dependencies": { | ||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" | ||
}, | ||
"frameworks": { | ||
"uap10.0": {} | ||
}, | ||
"runtimes": { | ||
"win10-arm": {}, | ||
"win10-arm-aot": {}, | ||
"win10-x86": {}, | ||
"win10-x86-aot": {}, | ||
"win10-x64": {}, | ||
"win10-x64-aot": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
This file contains Runtime Directives, specifications about types your application accesses | ||
through reflection and other dynamic code patterns. Runtime Directives are used to control the | ||
.NET Native optimizer and ensure that it does not remove code accessed by your library. If your | ||
library does not do any reflection, then you generally do not need to edit this file. However, | ||
if your library reflects over types, especially types passed to it or derived from its types, | ||
then you should write Runtime Directives. | ||
The most common use of reflection in libraries is to discover information about types passed | ||
to the library. Runtime Directives have three ways to express requirements on types passed to | ||
your library. | ||
1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter | ||
Use these directives to reflect over types passed as a parameter. | ||
2. SubTypes | ||
Use a SubTypes directive to reflect over types derived from another type. | ||
3. AttributeImplies | ||
Use an AttributeImplies directive to indicate that your library needs to reflect over | ||
types or methods decorated with an attribute. | ||
For more information on writing Runtime Directives for libraries, please visit | ||
http://go.microsoft.com/fwlink/?LinkId=613100 | ||
--> | ||
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> | ||
<Library Name="TrafficMonitor"> | ||
|
||
<!-- add directives for your library here --> | ||
|
||
</Library> | ||
</Directives> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"dependencies": { | ||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" | ||
}, | ||
"frameworks": { | ||
"uap10.0": {} | ||
}, | ||
"runtimes": { | ||
"win10-arm": {}, | ||
"win10-arm-aot": {}, | ||
"win10-x86": {}, | ||
"win10-x86-aot": {}, | ||
"win10-x64": {}, | ||
"win10-x64-aot": {} | ||
} | ||
} |