Skip to content
Permalink
Browse files

housekeeping: fix default values for snippet variables (#1562)

  • Loading branch information...
jonstodle authored and olevett committed Feb 19, 2018
1 parent 0d81f25 commit ca21727c173a45b659eae262db561a389c51d3ff
Showing with 9 additions and 9 deletions.
  1. +9 −9 snippets/Rider/ReactiveUI.xml
@@ -1,8 +1,8 @@
<templateSet group="ReactiveUI">
<template name="ruiprop" value="public $type$ $propertyName$ { get =&gt; $fieldName$; set =&gt; this.RaiseAndSetIfChanged(ref $fieldName$, value); }" description="Inserts a ReactiveUI property" toReformat="false" toShortenFQNames="true">
<variable name="type" expression="" defaultValue="string" alwaysStopAt="true" />
<variable name="propertyName" expression="" defaultValue="MyProperty" alwaysStopAt="true" />
<variable name="fieldName" expression="" defaultValue="myField" alwaysStopAt="true" />
<variable name="type" expression="" defaultValue="&quot;string&quot;" alwaysStopAt="true" />
<variable name="propertyName" expression="" defaultValue="&quot;MyProperty&quot;" alwaysStopAt="true" />
<variable name="fieldName" expression="" defaultValue="&quot;myField&quot;" alwaysStopAt="true" />
<context>
<option name="CSS" value="false" />
<option name="HTML" value="false" />
@@ -14,8 +14,8 @@
</context>
</template>
<template name="ruib" value="this.Bind(ViewModel, vm =&gt; vm.$vmProperty$, v =&gt; v.$viewProperty$).DisposeWith(d);" description="Inserts a RactiveUI Bind" toReformat="false" toShortenFQNames="true">
<variable name="vmProperty" expression="" defaultValue="Property" alwaysStopAt="true" />
<variable name="viewProperty" expression="" defaultValue="Control.Property" alwaysStopAt="true" />
<variable name="vmProperty" expression="" defaultValue="&quot;Property&quot;" alwaysStopAt="true" />
<variable name="viewProperty" expression="" defaultValue="&quot;Control.Property&quot;" alwaysStopAt="true" />
<context>
<option name="CSS" value="false" />
<option name="HTML" value="false" />
@@ -27,8 +27,8 @@
</context>
</template>
<template name="ruibc" value="this.BindCommand(ViewModel, vm =&gt; vm.$command$, v =&gt; v.$control$).DisposeWith(d);" description="Inserts a RactiveUI BindCommand" toReformat="false" toShortenFQNames="true">
<variable name="command" expression="" defaultValue="Command" alwaysStopAt="true" />
<variable name="control" expression="" defaultValue="Control" alwaysStopAt="true" />
<variable name="command" expression="" defaultValue="&quot;Command&quot;" alwaysStopAt="true" />
<variable name="control" expression="" defaultValue="&quot;Control&quot;" alwaysStopAt="true" />
<context>
<option name="CSS" value="false" />
<option name="HTML" value="false" />
@@ -40,8 +40,8 @@
</context>
</template>
<template name="ruiowb" value="this.OneWayBind(ViewModel, vm =&gt; vm.$vmProperty$, v =&gt; v.$viewProperty$).DisposeWith(d);" description="Inserts a RactiveUI OneWayBind" toReformat="false" toShortenFQNames="true">
<variable name="vmProperty" expression="" defaultValue="Property" alwaysStopAt="true" />
<variable name="viewProperty" expression="" defaultValue="Control.Property" alwaysStopAt="true" />
<variable name="vmProperty" expression="" defaultValue="&quot;Property&quot;" alwaysStopAt="true" />
<variable name="viewProperty" expression="" defaultValue="&quot;Control.Property&quot;" alwaysStopAt="true" />
<context>
<option name="CSS" value="false" />
<option name="HTML" value="false" />

0 comments on commit ca21727

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.