Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
|
---|
3 | <CodeSnippet Format="1.0.0">
|
---|
4 | <Header>
|
---|
5 | <Title>HL3.PluginClassStub</Title>
|
---|
6 | <Author>Andreas Beham</Author>
|
---|
7 | <Description>Creates a plugin class with basic dependencies</Description>
|
---|
8 | <HelpUrl>https://dev.heuristiclab.com/trac/hl/core/wiki/DevelopersCodeSnippets</HelpUrl>
|
---|
9 | <SnippetTypes>
|
---|
10 | <SnippetType>Expansion</SnippetType>
|
---|
11 | </SnippetTypes>
|
---|
12 | <Keywords />
|
---|
13 | <Shortcut>hl3PluginClass</Shortcut>
|
---|
14 | </Header>
|
---|
15 | <Snippet>
|
---|
16 | <References>
|
---|
17 | <Reference>
|
---|
18 | <Assembly>HeuristicLab.PluginInfrastructure</Assembly>
|
---|
19 | <Url></Url>
|
---|
20 | </Reference>
|
---|
21 | </References>
|
---|
22 | <Imports>
|
---|
23 | <Import>
|
---|
24 | <Namespace>HeuristicLab.PluginInfrastructure</Namespace>
|
---|
25 | </Import>
|
---|
26 | </Imports>
|
---|
27 | <Declarations>
|
---|
28 | <Literal Editable="true">
|
---|
29 | <ID>ClassName</ID>
|
---|
30 | <Type></Type>
|
---|
31 | <ToolTip>The full classname with namespace</ToolTip>
|
---|
32 | <Default>HeuristicLab.YourProject</Default>
|
---|
33 | <Function></Function>
|
---|
34 | </Literal>
|
---|
35 | <Literal Editable="true">
|
---|
36 | <ID>MajorMinorVersion</ID>
|
---|
37 | <Type></Type>
|
---|
38 | <ToolTip>The major.minor version</ToolTip>
|
---|
39 | <Default>3.3</Default>
|
---|
40 | <Function></Function>
|
---|
41 | </Literal>
|
---|
42 | <Literal Editable="true">
|
---|
43 | <ID>PluginClassName</ID>
|
---|
44 | <Type></Type>
|
---|
45 | <ToolTip></ToolTip>
|
---|
46 | <Default>HeuristicLabYourProject</Default>
|
---|
47 | <Function></Function>
|
---|
48 | </Literal>
|
---|
49 | </Declarations>
|
---|
50 | <Code Language="csharp" Kind="type decl" Delimiter="$"><![CDATA[[Plugin("$ClassName$", "$MajorMinorVersion$.0.1")]
|
---|
51 | [PluginFile("$ClassName$-$MajorMinorVersion$.dll", PluginFileType.Assembly)]
|
---|
52 | [PluginDependency("HeuristicLab.Common", "3.3")]
|
---|
53 | [PluginDependency("HeuristicLab.Core", "3.3")]
|
---|
54 | public class $PluginClassName$Plugin : PluginBase {
|
---|
55 | }]]></Code>
|
---|
56 | </Snippet>
|
---|
57 | </CodeSnippet>
|
---|
58 | </CodeSnippets> |
---|
Note: See
TracBrowser
for help on using the repository browser.