home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / InfoPath.en-us / InfLR.cab / FL_EncapsulateField_snippet_121822_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-04-01  |  1KB  |  43 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <CodeSnippets  xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3.     <CodeSnippet Format="1.0.0">
  4.         <Header>
  5.             <Title>Encapsulate Field</Title>
  6.             <Description>Refactoring snippet for Encapsulate field</Description>
  7.             <Author>Microsoft Corporation</Author>
  8.             <SnippetTypes>
  9.                 <SnippetType>Refactoring</SnippetType>
  10.             </SnippetTypes>
  11.         </Header>
  12.         <Snippet>
  13.             <Declarations>
  14.                 <Literal Editable="true">
  15.                     <ID>modifier</ID>
  16.                     <Default>public</Default>
  17.                 </Literal>
  18.                 <Literal Editable="false">
  19.                     <ID>type</ID>
  20.                     <Default>type</Default>
  21.                 </Literal>
  22.                 <Literal Editable="false">
  23.                     <ID>name</ID>
  24.                     <Default>name</Default>
  25.                 </Literal>
  26.                 <Literal Editable="false">
  27.                     <ID>field</ID>
  28.                     <Default>field</Default>
  29.                 </Literal>
  30.             </Declarations>
  31.             <Code Language="csharp">
  32.                 <![CDATA[
  33.  
  34. $modifier$ $type$ $name$
  35. {
  36.   get { return $field$; }
  37.   set { $field$ = value; }
  38. }]]>
  39.             </Code>
  40.         </Snippet>
  41.     </CodeSnippet>
  42. </CodeSnippets>
  43.