diff options
Diffstat (limited to 'doom.d/snippets')
-rw-r--r-- | doom.d/snippets/csharp-mode/prop | 6 | ||||
-rw-r--r-- | doom.d/snippets/snippet-mode/prop/*prop* | 33 |
2 files changed, 39 insertions, 0 deletions
diff --git a/doom.d/snippets/csharp-mode/prop b/doom.d/snippets/csharp-mode/prop new file mode 100644 index 0000000..e750673 --- /dev/null +++ b/doom.d/snippets/csharp-mode/prop @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Property +# key: prop +# condition: t +# -- +public ${1:int} ${2:property} { get; set; }$0
\ No newline at end of file diff --git a/doom.d/snippets/snippet-mode/prop/*prop* b/doom.d/snippets/snippet-mode/prop/*prop* new file mode 100644 index 0000000..9b7af0f --- /dev/null +++ b/doom.d/snippets/snippet-mode/prop/*prop* @@ -0,0 +1,33 @@ +#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> +#name : property ... ... { ... } +# key: cpro#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> +#name : property ... ... { ... } +# key: cprop +# -- +/// <summary> +/// $5 +/// </summary> +/// <value>$6</value> +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +}p +# -- +/// <summary> +/// $5 +/// </summary> +/// <value>$6</value> +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +}
\ No newline at end of file |