main
 1<?xml version="1.0"?>
 2<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
 3  <CodeSnippet Format="1.0.0">
 4    <Header>
 5      <Title>ISubModel wrapper</Title>
 6      <Author>MbUnit</Author>
 7      <Description>Expansion snippet for a ISubModel wrapper</Description>
 8      <Shortcut>submodel</Shortcut>
 9      <SnippetTypes>
10        <SnippetType>Expansion</SnippetType>
11      </SnippetTypes>
12    </Header>
13    <Snippet>
14      <Declarations>
15        <Literal>
16          <ID>model</ID>
17          <ToolTip>Model type</ToolTip>
18        </Literal>
19        <Literal>
20          <ID>name</ID>
21          <ToolTip>SubModel Name</ToolTip>
22        </Literal>
23      </Declarations>
24      <Code Language="VB"><![CDATA[		Public ReadOnly Property $name$Model As $model$ 
25			Get
26				Return DirectCast(Me.SubModels("$name$").Model, $model$)
27			End Get
28		End Property
29	]]></Code>
30    </Snippet>
31  </CodeSnippet>
32</CodeSnippets>