fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using Windows.UI.Xaml.Markup;
  4. using Windows.UI.Xaml;
  5. using Application2.XamlTypeInfo;
  6.  
  7. namespace Application2
  8. {
  9. public partial class App : IXamlMetadataProvider
  10. {
  11. private XamlTypeInfoProvider _provider;
  12.  
  13. public IXamlType GetXamlType(String typeName)
  14. {
  15. if(_provider == null)
  16. {
  17. _provider = new XamlTypeInfoProvider();
  18. }
  19. return _provider.GetXamlTypeByName(typeName);
  20. }
  21.  
  22. public XmlnsDefinition[] GetXmlnsDefinitions()
  23. {
  24. return new XmlnsDefinition[0];
  25. }
  26. }
  27. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty