Created
March 18, 2020 20:01
-
-
Save icalderond/f61a77692b07115785835d0ae6b33b23 to your computer and use it in GitHub Desktop.
Snippets for Visual Studio
This file contains 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> | |
<Title>propfullqs</Title> | |
<Shortcut>propfullqs</Shortcut> | |
<Description>Fragmento de código para la propiedad y el campo de respaldo para QuarkSoft</Description> | |
<Author>Israel Calderon de la Cruz</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>type</ID> | |
<ToolTip>Tipo de propiedad</ToolTip> | |
<Default>int</Default> | |
</Literal> | |
<Literal> | |
<ID>property</ID> | |
<ToolTip>Nombre de la propiedad</ToolTip> | |
<Default>MyProperty</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp"><![CDATA[private $type$ _$property$; | |
public $type$ $property$ | |
{ | |
get => _$property$; | |
set => Set(ref _$property$, value); | |
} | |
$end$]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
This file contains 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> | |
<Title>region_qs</Title> | |
<Shortcut>region_qs</Shortcut> | |
<Description>Fragmento de código para una region personalizada de QuarkSoft</Description> | |
<Author>Microsoft Corporation</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>nameRegion</ID> | |
<ToolTip>Alias de la región a crear</ToolTip> | |
<Default>NombreRegion</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp"><![CDATA[#region [ $nameRegion$ ] | |
$end$ | |
#endregion [ $nameRegion$ ]]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment