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.CloneMethod</Title>
|
---|
| 6 | <Author>Andreas Beham</Author>
|
---|
| 7 | <Description>Creates the overriden clone method</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>hl3CloneMethod</Shortcut>
|
---|
| 14 | </Header>
|
---|
| 15 | <Snippet>
|
---|
| 16 | <References />
|
---|
| 17 | <Imports />
|
---|
| 18 | <Declarations>
|
---|
| 19 | <Literal default="true" Editable="false">
|
---|
| 20 | <ID>classname</ID>
|
---|
| 21 | <ToolTip>Class name</ToolTip>
|
---|
| 22 | <Function>ClassName()</Function>
|
---|
| 23 | <Default>ClassNamePlaceholder</Default>
|
---|
| 24 | </Literal>
|
---|
| 25 | </Declarations>
|
---|
| 26 | <Code Language="csharp" Kind="method body" Delimiter="$"><![CDATA[public override IDeepCloneable Clone(Cloner cloner) {
|
---|
| 27 | return new $classname$(this, cloner);
|
---|
| 28 | }]]></Code>
|
---|
| 29 | </Snippet>
|
---|
| 30 | </CodeSnippet>
|
---|
| 31 | </CodeSnippets> |
---|
Note: See
TracBrowser
for help on using the repository browser.