Created
January 29, 2016 19:34
-
-
Save dannylloyd/cdefad8a6f03daf038c1 to your computer and use it in GitHub Desktop.
Razor xml comment format. Add descriptive comment to method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @functions{ | |
| /// <summary> | |
| /// Prints a random number followed by name | |
| /// </summary> | |
| /// <param name="name">The name to be printed</param> | |
| } | |
| @helper SayHello(string name) { | |
| int randomNumber = 4; // A random number | |
| @randomNumber @name | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment