Created
August 8, 2016 10:32
-
-
Save jonstodle/e1d77c59c83e06062d124b9383f557c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>Property with INPC</Title> | |
<Author>Jon Stødle</Author> | |
<Description>Inserts a property which implements INotifyPropertyChanged</Description> | |
<HelpUrl></HelpUrl> | |
<Shortcut>propc</Shortcut> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal Editable="true"> | |
<ID>type</ID> | |
<ToolTip>Type of property</ToolTip> | |
<Default>string</Default> | |
<Function> | |
</Function> | |
</Literal> | |
<Literal Editable="true"> | |
<ID>backingField</ID> | |
<ToolTip>Name of backing field</ToolTip> | |
<Default>myBackingField</Default> | |
<Function> | |
</Function> | |
</Literal> | |
<Literal Editable="true"> | |
<ID>propertyName</ID> | |
<ToolTip>Name of property</ToolTip> | |
<Default>MyProperty</Default> | |
<Function> | |
</Function> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp" Delimiter="$"><![CDATA[ | |
// Insert code block from below here | |
$end$]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment