/VisualStudio/ABB.SrcML.VisualStudio.TransformTemplate/MyTransform.cs

https://github.com/nkcsgexi/SrcML.NET · C# · 22 lines · 20 code · 2 blank · 0 comment · 0 complexity · 5e77185df0f1385f0902ac5a0a3914fa MD5 · raw file

  1. using System.Collections.Generic;
  2. using System.Linq;
  3. using System.Xml;
  4. using System.Xml.Linq;
  5. using System.Xml.XPath;
  6. using ABB.SrcML;
  7. namespace ABB.SrcML.VisualStudio.TransformTemplate
  8. {
  9. public class MyTransform : ITransform
  10. {
  11. public IEnumerable<XElement> Query(XElement element)
  12. {
  13. return Enumerable.Empty<XElement>();
  14. }
  15. public XElement Transform(XElement element)
  16. {
  17. return element;
  18. }
  19. }
  20. }