blob: c03709580a017e49241edf4832ca2e7ab74d3fd5 (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>Contracted Interface</Title>
<Shortcut>cintf</Shortcut>
<Description>Boiler plate interface and contract</Description>
<Author>Maf</Author>
</Header>
<Snippet>
<Imports>
<Import>
<Namespace>System.Diagnostics.Contracts</Namespace>
</Import>
</Imports>
<Declarations>
<Object Editable="true">
<ID>interface</ID>
<ToolTip>Interface name</ToolTip>
<Default>IFoo</Default>
<Function>
</Function>
</Object>
</Declarations>
<Code Language="VB" Kind="type decl"><![CDATA[<ContractClass(GetType($interface$Contract))> _
Public Interface $interface$
End Interface
<ContractClassFor(GetType($interface$))> _
Public Class $interface$Contract
Implements $interface$
End Class
]]></Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
|