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