mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 17:04:18 +00:00
added csharp, sql snippets from users
This commit is contained in:
10
snippets/text-mode/cc-mode/csharp-mode/method
Normal file
10
snippets/text-mode/cc-mode/csharp-mode/method
Normal file
@@ -0,0 +1,10 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : public void Method { ... }
|
||||
# --
|
||||
/// <summary>
|
||||
/// ${5:Description}
|
||||
/// </summary>${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" text "</c></returns>"))}
|
||||
${1:public} ${2:void} ${3:MethodName}($4)
|
||||
{
|
||||
$0
|
||||
}
|
||||
Reference in New Issue
Block a user