-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatac.snippet
43 lines (41 loc) · 1.15 KB
/
datac.snippet
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>DataContract snippet</Title>
<Shortcut>datac</Shortcut>
<Description>Code snippet for creating a DataContract-class.</Description>
<Author>Johan Suleiko Allansson</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<References>
<Reference>
<Assembly>System.Runtime.Serialization</Assembly>
</Reference>
</References>
<Imports>
<Import>
<Namespace>System.Runtime.Serialization</Namespace>
</Import>
</Imports>
<Declarations>
<Literal>
<ID>name</ID>
<ToolTip>Class name</ToolTip>
<Default>MyClass</Default>
</Literal>
</Declarations>
<Code Language="csharp">
<![CDATA[[DataContract]
public class $name$
{
$selected$$end$
}]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>