-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprop.template.xml
More file actions
24 lines (24 loc) · 809 Bytes
/
prop.template.xml
File metadata and controls
24 lines (24 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<CodeTemplates version="3.0">
<CodeTemplate version="2.0">
<Header>
<_Group>C#</_Group>
<Version>1.0</Version>
<MimeType>text/x-csharp</MimeType>
<Shortcut>prop</Shortcut>
<_Description>Template for a short property</_Description>
<TemplateType>Expansion</TemplateType>
</Header>
<Variables>
<Variable name="type" isIdentifier="true">
<Default>object</Default>
<_ToolTip>Return type of the indexer</_ToolTip>
</Variable>
<Variable name="name" isIdentifier="true">
<Default>MyProperty</Default>
<_ToolTip>Property name</_ToolTip>
</Variable>
</Variables>
<Code><![CDATA[public $type$ $name$ { get; set; }$end$]]></Code>
</CodeTemplate>
</CodeTemplates>