Rev | Line | |
---|
[4761] | 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.AddParameter</Title>
|
---|
| 6 | <Author>Andreas Beham</Author>
|
---|
| 7 | <Description>Creates a new Parameter</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>hl3AddParameter</Shortcut>
|
---|
| 14 | </Header>
|
---|
| 15 | <Snippet>
|
---|
| 16 | <References />
|
---|
| 17 | <Imports>
|
---|
| 18 | <Import>
|
---|
| 19 | <Namespace>HeuristicLab.Parameters</Namespace>
|
---|
| 20 | </Import>
|
---|
| 21 | </Imports>
|
---|
| 22 | <Declarations>
|
---|
| 23 | <Literal Editable="true">
|
---|
| 24 | <ID>ParameterType</ID>
|
---|
| 25 | <Type></Type>
|
---|
| 26 | <ToolTip>Type of the parameter (Value, Lookup, ValueLookup, ScopeTreeLookup, ...)</ToolTip>
|
---|
| 27 | <Default>Lookup</Default>
|
---|
| 28 | <Function></Function>
|
---|
| 29 | </Literal>
|
---|
| 30 | <Literal Editable="true">
|
---|
| 31 | <ID>ParameterName</ID>
|
---|
| 32 | <Type></Type>
|
---|
| 33 | <ToolTip>Name of the parameter</ToolTip>
|
---|
| 34 | <Default>Name</Default>
|
---|
| 35 | <Function></Function>
|
---|
| 36 | </Literal>
|
---|
| 37 | <Literal Editable="true">
|
---|
| 38 | <ID>ParameterDescription</ID>
|
---|
| 39 | <Type></Type>
|
---|
| 40 | <ToolTip>Description of the parameter</ToolTip>
|
---|
| 41 | <Default>Description</Default>
|
---|
| 42 | <Function></Function>
|
---|
| 43 | </Literal>
|
---|
| 44 | <Literal Editable="true">
|
---|
| 45 | <ID>ParameterDataType</ID>
|
---|
| 46 | <Type></Type>
|
---|
| 47 | <ToolTip></ToolTip>
|
---|
| 48 | <Default>IntValue</Default>
|
---|
| 49 | <Function></Function>
|
---|
| 50 | </Literal>
|
---|
| 51 | </Declarations>
|
---|
| 52 | <Code Language="csharp" Kind="method body" Delimiter="$"><![CDATA[Parameters.Add(new $ParameterType$Parameter<$ParameterDataType$>("$ParameterName$", "$ParameterDescription$"));]]></Code>
|
---|
| 53 | </Snippet>
|
---|
| 54 | </CodeSnippet>
|
---|
| 55 | </CodeSnippets> |
---|
Note: See
TracBrowser
for help on using the repository browser.