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="csharp"><![CDATA[		public $model$ $name$Model
25        {
26            get
27            {
28                return ($model$)this.SubModels["$name$"].Model;
29            }
30        }
31	]]></Code>
32    </Snippet>
33  </CodeSnippet>
34</CodeSnippets>