Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions snippets/RxUI.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<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/=98659CEA78237A498B476A3D20C5F004/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Shortcut/@EntryValue">afact</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Text/@EntryValue">[Fact]&#xD;
public async Task $TestName$()&#xD;
{&#xD;
$END$&#xD;
}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Reformat/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Field/=TestName/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=98659CEA78237A498B476A3D20C5F004/Field/=TestName/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Shortcut/@EntryValue">fact</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Text/@EntryValue">[Fact]&#xD;
public void $TestName$()&#xD;
{&#xD;
$END$&#xD;
}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Reformat/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Field/=TestName/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E77E30A8EEFA914AB52F36757541523F/Field/=TestName/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Shortcut/@EntryValue">ivf</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Text/@EntryValue">namespace $DefaultNamespace$&#xD;
{&#xD;
using Windows.UI.Xaml;&#xD;
using ReactiveUI;&#xD;
&#xD;
public sealed partial class $ViewName$ : IViewFor&lt;$ViewName$Model&gt;&#xD;
{&#xD;
public $ViewName$()&#xD;
{&#xD;
this.InitializeComponent();&#xD;
}&#xD;
&#xD;
public static readonly DependencyProperty ViewModelProperty = DependencyProperty.Register(&#xD;
"ViewModel",&#xD;
typeof($ViewName$Model),&#xD;
typeof($ViewName$),&#xD;
new PropertyMetadata(default($ViewName$Model)));&#xD;
&#xD;
public $ViewName$Model ViewModel&#xD;
{&#xD;
get { return ($ViewName$Model) GetValue(ViewModelProperty); }&#xD;
set { SetValue(ViewModelProperty, value); }&#xD;
}&#xD;
&#xD;
object IViewFor.ViewModel&#xD;
{&#xD;
get { return ViewModel; }&#xD;
set { ViewModel = ($ViewName$Model)value; }&#xD;
}&#xD;
}&#xD;
}&#xD;
</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Scope/=558F05AA0DE96347816FF785232CFB2A/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Scope/=558F05AA0DE96347816FF785232CFB2A/Type/@EntryValue">InCSharpTypeAndNamespace</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Scope/=558F05AA0DE96347816FF785232CFB2A/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=ViewName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=ViewName/Expression/@EntryValue">getFileNameWithoutExtension()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=ViewName/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=DefaultNamespace/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=DefaultNamespace/Expression/@EntryValue">fileDefaultNamespace()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=DefaultNamespace/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219413A4DCDF6947A9C34D85317E32D0/Field/=DefaultNamespace/Order/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Shortcut/@EntryValue">oaph</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Description/@EntryValue">ObservableAsPropertyHelper</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Text/@EntryValue">readonly ObservableAsPropertyHelper&lt;$Type$&gt; _$fieldName$;&#xD;
public $Type$ $Name$ =&gt; _$fieldName$.Value;</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Type/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Type/InitialRange/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Type/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Name/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Name/InitialRange/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=Name/Order/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=fieldName/Expression/@EntryValue">decapitalize(Name)</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=fieldName/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=5BF7A7AE99C02B4B879040F4E3FC4989/Field/=fieldName/Order/@EntryValue">2</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Shortcut/@EntryValue">raiseif</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Text/@EntryValue">$PropertyType$ _$fieldName$$END$;&#xD;
public $PropertyType$ $PropertyName$&#xD;
{&#xD;
get { return _$fieldName$; }&#xD;
set { this.RaiseAndSetIfChanged(ref _$fieldName$, value); }&#xD;
}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=PropertyType/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=PropertyType/InitialRange/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=PropertyType/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=PropertyName/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=PropertyName/Order/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=fieldName/Expression/@EntryValue">decapitalize(PropertyName)</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=fieldName/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CDA9FF8B60E48418877CF5BDEE17771/Field/=fieldName/Order/@EntryValue">2</s:Int64></wpf:ResourceDictionary>
30 changes: 30 additions & 0 deletions snippets/ruicommand.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>ReactiveUI - Command</Title>
<Shortcut>ruicommand</Shortcut>
<Description>Code snippet for a ReactiveUI Command</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>type</ID>
<ToolTip>Command type</ToolTip>
<Default>object</Default>
</Literal>
<Literal>
<ID>command</ID>
<ToolTip>Command name</ToolTip>
<Default>DoSomething</Default>
</Literal>
</Declarations>
<Code Language="csharp">
<![CDATA[public ReactiveCommand<$type$> $command$ { get; private set; }$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
39 changes: 39 additions & 0 deletions snippets/ruiiv4.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>ReactiveUI - IViewFor<T></Title>
<Shortcut>ruiiv4</Shortcut>
<Description>Generates the dependency prop for IViewFor</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>classname</ID>
<ToolTip>View type</ToolTip>
<Function>ClassName()</Function>
<Default>ClassNamePlaceholder</Default>
</Literal>
</Declarations>
<Code Language="csharp">
<![CDATA[public static readonly DependencyProperty ViewModelProperty =
DependencyProperty.Register("ViewModel", typeof($classname$Model), typeof($classname$), new PropertyMetadata(null));

public $classname$Model ViewModel
{
get { return ($classname$Model)GetValue(ViewModelProperty); }
set { SetValue(ViewModelProperty, value); }
}

object IViewFor.ViewModel
{
get { return ViewModel; }
set { ViewModel = ($classname$Model)value; }
}$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
33 changes: 33 additions & 0 deletions snippets/ruiopah.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>ReactiveUI - ObservableAsPropertyHelper</Title>
<Shortcut>ruiopah</Shortcut>
<Description>Code snippet for a ReactiveUI ObservableAsPropertyHelper</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>type</ID>
<ToolTip>Property type</ToolTip>
<Default>int</Default>
</Literal>
<Literal>
<ID>property</ID>
<ToolTip>Property name</ToolTip>
<Default>MyProperty</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[private ObservableAsPropertyHelper<$type$> _$property$;
public $type$ $property$
{
get {return _$property$.Value;}
}$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
34 changes: 34 additions & 0 deletions snippets/ruiprop.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>ReactiveUI - Reactive Property</Title>
<Shortcut>ruiprop</Shortcut>
<Description>Code snippet for a Reactive property</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>type</ID>
<ToolTip>Property type</ToolTip>
<Default>int</Default>
</Literal>
<Literal>
<ID>property</ID>
<ToolTip>Property name</ToolTip>
<Default>MyProperty</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[private $type$ _$property$;
public $type$ $property$
{
get {return _$property$;}
set { this.RaiseAndSetIfChanged(ref _$property$, value); }
}$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
25 changes: 25 additions & 0 deletions snippets/ruiviewreg.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>ReactiveUI - View Registration</Title>
<Shortcut>ruiviewreg</Shortcut>
<Description>Code snippet for a ReactiveUI View Registration</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>viewType</ID>
<ToolTip>View Name</ToolTip>
<Default>My</Default>
</Literal>
</Declarations>
<Code Language="csharp">
<![CDATA[Locator.CurrentMutable.Register(() => new $viewType$View(), typeof(IViewFor<$viewType$ViewModel>));$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>