aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method')
-rw-r--r--Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method13
1 files changed, 13 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method
new file mode 100644
index 0000000..742ff77
--- /dev/null
+++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method
@@ -0,0 +1,13 @@
+# -*- mode: snippet -*-
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: public void Method { ... }
+# key: method
+# uuid: method
+# --
+/// <summary>
+/// ${5:Description}
+/// </summary>${2:$(if (string= (upcase yas-text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" yas-text "</c></returns>"))}
+${1:public} ${2:void} ${3:MethodName}($4)
+{
+$0
+} \ No newline at end of file