/dev_tools/resharper/templates/file_templates_general.xml

http://github.com/sajagiffin/dotnet_bootcamp_setup · XML · 34 lines · 34 code · 0 blank · 0 comment · 0 complexity · 3d009508c715ccdb80ed6f646be27ad1 MD5 · raw file

  1. <TemplatesExport>
  2. <Template uid="deef867e-e0e6-4793-ad81-f4f7bcd24d8f" shortcut="" description="Delegate" text="namespace $name_space$&#xD;&#xA;{&#xD;&#xA; public delegate void $file_name$();&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
  3. <Context>
  4. <ProjectLanguageContext language="CSharp" />
  5. </Context>
  6. <Categories />
  7. <Variables>
  8. <Variable name="name_space" expression="fileDefaultNamespace()" initialRange="0" />
  9. <Variable name="file_name" expression="getFileNameWithoutExtension()" initialRange="0" />
  10. </Variables>
  11. <CustomProperties>
  12. <Property key="FileName" value="Class" />
  13. <Property key="Extension" value="cs" />
  14. <Property key="ValidateFileName" value="False" />
  15. </CustomProperties>
  16. </Template>
  17. <Template uid="83723778-1442-487b-b6b4-a0ac9f37ff4d" shortcut="" description="ValueDelegate" text="namespace $name_space$&#xD;&#xA;{&#xD;&#xA; public delegate $return_type$ $file_name$($args$);&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
  18. <Context>
  19. <ProjectLanguageContext language="CSharp" />
  20. </Context>
  21. <Categories />
  22. <Variables>
  23. <Variable name="return_type" expression="" initialRange="0" />
  24. <Variable name="name_space" expression="fileDefaultNamespace()" initialRange="-1" />
  25. <Variable name="file_name" expression="getFileNameWithoutExtension()" initialRange="-1" />
  26. <Variable name="args" expression="" initialRange="0" />
  27. </Variables>
  28. <CustomProperties>
  29. <Property key="FileName" value="Class" />
  30. <Property key="Extension" value="cs" />
  31. <Property key="ValidateFileName" value="False" />
  32. </CustomProperties>
  33. </Template>
  34. </TemplatesExport>