]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/yasnippet/snippets/csharp-mode/prop
Add yasnippet.
[gnu-emacs-elpa] / packages / yasnippet / snippets / csharp-mode / prop
diff --git a/packages/yasnippet/snippets/csharp-mode/prop b/packages/yasnippet/snippets/csharp-mode/prop
new file mode 100644 (file)
index 0000000..c711d23
--- /dev/null
@@ -0,0 +1,17 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: property ... ... { ... }
+# key: prop
+# --
+/// <summary>
+/// $5
+/// </summary>
+/// <value>$6</value>
+$1 $2 $3
+{
+    get {
+        return this.$4;
+    }
+    set {
+        this.$4 = value;
+    }
+}
\ No newline at end of file