Skip to content

Instantly share code, notes, and snippets.

@ElvisLives
Created June 11, 2012 18:38
Show Gist options
  • Save ElvisLives/2911819 to your computer and use it in GitHub Desktop.
Save ElvisLives/2911819 to your computer and use it in GitHub Desktop.
RavenDbIndex Resharper File Template .DotSettings
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Description/@EntryValue">RavenDB Index</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Text/@EntryValue">using System.Linq;&#xD;
using Raven.Client.Indexes;&#xD;
&#xD;
namespace $Namespace$&#xD;
{&#xD;
public class $ClassName$ : AbstractIndexCreationTask&lt;$ClassIndexFor$, $ClassName$.ReduceResult&gt;&#xD;
{&#xD;
public class ReduceResult&#xD;
{&#xD;
$END$&#xD;
}&#xD;
&#xD;
public $ClassName$()&#xD;
{&#xD;
&#xD;
}&#xD;
}&#xD;
}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Reformat/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/CustomProperties/=FileName/@EntryIndexedValue">RavenDbIndex</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/CustomProperties/=Extension/@EntryIndexedValue">cs</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/CustomProperties/=ValidateFileName/@EntryIndexedValue">False</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Applicability/=File/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Scope/=E8F0594528C33E45BBFEC6CFE851095D/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Scope/=E8F0594528C33E45BBFEC6CFE851095D/Type/@EntryValue">InCSharpProjectFile</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=Namespace/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=Namespace/Expression/@EntryValue">fileDefaultNamespace()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=Namespace/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=Namespace/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassName/Expression/@EntryValue">getFileNameWithoutExtension()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassName/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassName/Order/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassIndexFor/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Field/=ClassIndexFor/Order/@EntryValue">2</s:Int64></wpf:ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment