Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/tools/HL3Snippets/HL3.CloningConstructor.snippet @ 5155

Last change on this file since 5155 was 4761, checked in by abeham, 14 years ago

#567

  • Added snippets to source control
File size: 1.1 KB
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.CloningConstructor</Title>
6      <Author>Andreas Beham</Author>
7      <Description>Creates a cloning constructor</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>hl3CloningConstructor</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[protected $classname$($classname$ original, Cloner cloner) : base(original, cloner) {
27      }]]></Code>
28    </Snippet>
29  </CodeSnippet>
30</CodeSnippets>
Note: See TracBrowser for help on using the repository browser.