-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmethod.snippet
More file actions
43 lines (43 loc) · 1.08 KB
/
method.snippet
File metadata and controls
43 lines (43 loc) · 1.08 KB
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
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>method</Title>
<Shortcut>method</Shortcut>
<Description>Code snippet for an automatically implemented a method</Description>
<Author>jinyafeng</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>accessbility</ID>
<ToolTip>Accessbility</ToolTip>
<Default>public</Default>
</Literal>
<Literal>
<ID>return</ID>
<ToolTip>Return Type</ToolTip>
<Default>void</Default>
</Literal>
<Literal>
<ID>method</ID>
<ToolTip>Method name</ToolTip>
<Default>MyMethod</Default>
</Literal>
<Literal>
<ID>parameter</ID>
<ToolTip>Parameter name</ToolTip>
<Default></Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[$accessbility$ $return$ $method$($parameter$)
{
$end$
}]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>