<Configuration>
<SharedSolutionTemplateManager>
<LiveTemplates>
<Template uid="c32292d7-27d5-4bbb-bb96-45d9d25ff58b" shortcut="propnotify" description="A get/set property that observes the notify changed style" text="private $TYPE$ _$cammelName$;

//[Category("")]
//[Description("")]
public $TYPE$ $NAME$
{
 get { return _$cammelName$; }
 set
 {
 if (_$cammelName$ != value)
 {
 _$cammelName$ = value;
 OnPropertyChanged("$NAME$");
 }
 }
}
" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="TYPE" expression="" initialRange="0" />
<Variable name="NAME" expression="suggestVariableName()" initialRange="0" />
<Variable name="cammelName" expression="decapitalize(NAME)" initialRange="-1" />
</Variables>
<CustomProperties />
</Template>
</LiveTemplates>
<FileTemplates>
<Template uid="de77ff5d-a3b0-4edc-a18f-f5ffbd29a07c" shortcut="" description="App Command" text="using System;
using System.Windows.Forms;
using MiniSqlQuery.Core;
using MiniSqlQuery.Core.Commands;
//using WeifenLuo.WinFormsUI.Docking;

namespace $ns$
{
 public class $class_name$
 : CommandBase
 {
 public $class_name$()
 : base("$name$")
 {
 //ShortcutKeys = Keys.Control | Keys.Alt | Keys.?;
 //SmallImage = ImageResource.?;
 }

 public override void Execute()
 {
 // todo - imp command
 }
 
 //public override bool Enabled
 //{
 // get { return HostWindow.ActiveChildForm != null; }
 //}
 }
}" reformat="True" shortenQualifiedReferences="True">
<Context>
<ProjectLanguageContext language="CSharp" />
</Context>
<Categories />
<Variables>
<Variable name="ns" expression="fileDefaultNamespace()" initialRange="-1" />
<Variable name="class_name" expression="getFileNameWithoutExtension()" initialRange="0" />
<Variable name="name" expression="" initialRange="0" />
</Variables>
<CustomProperties>
<Property key="FileName" value="AppCommand" />
<Property key="Extension" value="cs" />
<Property key="ValidateFileName" value="False" />
</CustomProperties>
</Template>
</FileTemplates>
</SharedSolutionTemplateManager>
</Configuration>
|