-
Notifications
You must be signed in to change notification settings - Fork 9
/
Csharp.snippet
37 lines (34 loc) · 1.27 KB
/
Csharp.snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Title of the Snippet</Title>
<Author>Author of the Snippet</Author>
<Description>Description of the Snippet</Description>
<Shortcut>Shortcut of the Snippet to use in Visual Studio (like ctor or prop)</Shortcut>
</Header>
<Snippet>
<Code Language="CSharp">
<![CDATA[Console.WriteLine("$MyMessage$: " + "$end$");]]>
</Code>
<Declarations>
<Literal>
<ID>MyMessage</ID>
<Default>Hello World!</Default>
<ToolTip>Tooltip about this variable</ToolTip>
</Literal>
</Declarations>
<Imports>
<Import>
<Namespace>Autodesk.Revit.ApplicationServices</Namespace>
</Import>
<Import>
<Namespace>Autodesk.Revit.DB</Namespace>
</Import>
<Import>
<Namespace>Autodesk.Revit.UI</Namespace>
</Import>
</Imports>
</Snippet>
</CodeSnippet>
</CodeSnippets>