Customizing the Prop Snippet

I'm quite busy with a project I'm on with Clemens (the last before he'll join the Indigo team at Microsoft) - just to explain why it got bit quiet around me :-)

Here is a modified version of the prop snippet that I want to share ( and remember :-P ).

<?xml version="1.0" encoding="utf-8" ?>

<CodeSnippets  xmlns="">

      <CodeSnippet Format="1.0.0">




                  <Description>Code snippet for property and

                  backing field</Description>

                  <Author>Microsoft Corporation</Author>









                              <ToolTip>Property type</ToolTip>





                             <ToolTip>Property name</ToolTip>





                             <ToolTip>The variable backing this





                  <Code Language="csharp"><![CDATA[#region $property$


      // This field holds the $property$

      private $type$ $field$;


      /// <summary>Gets/sets the $property$.</summary>

      /// <value>A <see cref="$type$">$type$</see>

      /// containing the $property$.</value>

      /// <remarks>This property gets/sets the $property$.</remarks>

      [System.ComponentModel.Description("Gets/sets the $property$.")]

      public $type$ $property$


            get { return $field$;}

            set { $field$ = value;}








Add comment