-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResharperLiveTemplates.xml
55 lines (55 loc) · 3.13 KB
/
ResharperLiveTemplates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<TemplatesExport>
<Template uid="e777ce07-04d4-4a94-b370-f597a08d7687" shortcut="summary" description="summary" text="///<summary>$END$</summary>" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="Everywhere" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables />
<CustomProperties />
</Template>
<Template uid="da84000d-1eb4-4ec6-b886-4898f2866f5f" shortcut="nunittest" description="Nunit test method" text=" [NUnit.Framework.TestAttribute]
 public void $TestName$()
 {
 $END$
 }" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="Everywhere" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="TestName" expression="" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
<Template uid="31f44d8f-7a07-46e8-b6c7-7c3fa897d3de" shortcut="nunitparameterisedtest" description="" text=" [NUnit.Framework.TestAttribute, $DATA_SOURCE_ATTRIBUTE$]
 public void $TestName$($PARAMETER_TYPE$ $me$)
 {
 $END$
 }" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="Everywhere" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="DATA_SOURCE_ATTRIBUTE" expression="completeSmart()" initialRange="0" />
<Variable name="TestName" expression="" initialRange="0" />
<Variable name="PARAMETER_TYPE" expression="" initialRange="0" />
<Variable name="me" expression="" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
<Template uid="0c55aac5-d12c-4b7a-8e9d-1f0614e71f34" shortcut="constraint" description="" text=" public static Constraint $RELATIONSHIP$(this ConstraintExpression me, $TReference$ reference)
 {
 return me.AppendRelationship("$RELATIONSHIP$", reference, examined => $END$);
 }" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="RELATIONSHIP" expression="" initialRange="0" />
<Variable name="TReference" expression="completeSmart()" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
<Template uid="db9ef180-a8ce-4b34-83d1-12468df6d63b" shortcut="extensionmethod_generic" description="" text=" public static $RETURN_TYPE$ $NAME$<T>(this T actual)
 {
 return $END$;
 }" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="Everywhere" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="RETURN_TYPE" expression="" initialRange="0" />
<Variable name="NAME" expression="" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
</TemplatesExport>