From 7a6bb0f05e349068b0a89514f1da33d6d7de30a9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 24 Apr 2012 23:29:38 +0200 Subject: emacs.d/lisp/yasnippet: added yasnippet --- emacs.d/lisp/yasnippet/snippets/csharp-mode/prop | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 emacs.d/lisp/yasnippet/snippets/csharp-mode/prop (limited to 'emacs.d/lisp/yasnippet/snippets/csharp-mode/prop') diff --git a/emacs.d/lisp/yasnippet/snippets/csharp-mode/prop b/emacs.d/lisp/yasnippet/snippets/csharp-mode/prop new file mode 100644 index 0000000..df9df91 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/csharp-mode/prop @@ -0,0 +1,16 @@ +#contributor : Alejandro Espinoza Esparza +#name : property ... ... { ... } +# -- +/// +/// $5 +/// +/// $6 +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +} -- cgit v1.2.3