home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / Sharp / SharpDevelop_1.0.3.1761_Setup.exe / CSharp.EmptyClass.xft < prev    next >
Extensible Markup Language  |  2004-10-06  |  1KB  |  46 lines

  1. <?xml version="1.0"?>
  2. <Template author="Mike Krueger" version="1.0">
  3.     
  4.     <Config
  5.           name        = "${res:Templates.File.EmptyClass.Name}"
  6.           icon        = "C#.File.NewClass"
  7.           category    = "C#"
  8.           defaultname = "Class${Number}.cs"
  9.           language    = "C#"/>
  10.      
  11.     <Description>${res:Templates.File.EmptyClass.Description}</Description>
  12.     
  13.     <!-- 
  14.     Special new file templates:
  15.         ${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension
  16.         ${FullName}                 -> Full generated path name
  17.         ${FileName}                 -> File name with extension
  18.         ${FileNameWithoutExtension} -> File name without extension
  19.         ${Extension}                -> Extension in the form ".cs"
  20.         ${Path}                     -> Full path of the file
  21.         ${ClassName}                -> Class name (generally FileNameWithoutExtension w/o 'bad' characters)
  22.      -->
  23.     <Files>
  24.         <File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#}
  25.  
  26. using System;
  27.  
  28. namespace ${StandardNamespace}
  29. {
  30.     /// <summary>
  31.     /// Description of ${ClassName}.
  32.     /// </summary>
  33.     public class ${ClassName}
  34.     {
  35.         public ${ClassName}()
  36.         {
  37.         }
  38.     }
  39. }
  40. ]]></File>
  41.     </Files>
  42.     
  43.     <AdditionalOptions/>
  44. </Template>
  45.  
  46.