-
Notifications
You must be signed in to change notification settings - Fork 0
/
propi.snippet
28 lines (28 loc) · 895 Bytes
/
propi.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
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>public Type Prop { get; init; }</Title>
<Author>DepthRel</Author>
<Description>Call insert of public Type Prop { get; init; }</Description>
<Shortcut>propi</Shortcut>
</Header>
<Snippet>
<Code Language="CSharp">
<![CDATA[public $Type$ $MyProperty$ { get; init; }$end$]]>
</Code>
<Declarations>
<Literal>
<ID>MyProperty</ID>
<ToolTip>The name of property</ToolTip>
<Default>MyProperty</Default>
</Literal>
<Literal>
<ID>Type</ID>
<ToolTip>The stored value type</ToolTip>
<Default>int</Default>
</Literal>
</Declarations>
</Snippet>
</CodeSnippet>
</CodeSnippets>