housekeeping: fix default values for snippet variables (#1562)
This commit is contained in:
Родитель
b1947215b2
Коммит
b5ec4a814c
|
@ -1,8 +1,8 @@
|
|||
<templateSet group="ReactiveUI">
|
||||
<template name="ruiprop" value="public $type$ $propertyName$ { get => $fieldName$; set => 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=""string"" alwaysStopAt="true" />
|
||||
<variable name="propertyName" expression="" defaultValue=""MyProperty"" alwaysStopAt="true" />
|
||||
<variable name="fieldName" expression="" defaultValue=""myField"" 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 => vm.$vmProperty$, v => 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=""Property"" alwaysStopAt="true" />
|
||||
<variable name="viewProperty" expression="" defaultValue=""Control.Property"" 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 => vm.$command$, v => 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=""Command"" alwaysStopAt="true" />
|
||||
<variable name="control" expression="" defaultValue=""Control"" 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 => vm.$vmProperty$, v => 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=""Property"" alwaysStopAt="true" />
|
||||
<variable name="viewProperty" expression="" defaultValue=""Control.Property"" alwaysStopAt="true" />
|
||||
<context>
|
||||
<option name="CSS" value="false" />
|
||||
<option name="HTML" value="false" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче