RNViewShot.rd.xml 1.5KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. This file contains Runtime Directives, specifications about types your application accesses
  4. through reflection and other dynamic code patterns. Runtime Directives are used to control the
  5. .NET Native optimizer and ensure that it does not remove code accessed by your library. If your
  6. library does not do any reflection, then you generally do not need to edit this file. However,
  7. if your library reflects over types, especially types passed to it or derived from its types,
  8. then you should write Runtime Directives.
  9. The most common use of reflection in libraries is to discover information about types passed
  10. to the library. Runtime Directives have three ways to express requirements on types passed to
  11. your library.
  12. 1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter
  13. Use these directives to reflect over types passed as a parameter.
  14. 2. SubTypes
  15. Use a SubTypes directive to reflect over types derived from another type.
  16. 3. AttributeImplies
  17. Use an AttributeImplies directive to indicate that your library needs to reflect over
  18. types or methods decorated with an attribute.
  19. For more information on writing Runtime Directives for libraries, please visit
  20. http://go.microsoft.com/fwlink/?LinkID=391919
  21. -->
  22. <Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  23. <Library Name="RNViewShot">
  24. <!-- add directives for your library here -->
  25. </Library>
  26. </Directives>