This commit is contained in:
azure-pipelines[bot] 2023-03-28 07:39:06 +00:00
parent 67e01c76b4
commit 02bed41d9a
554 changed files with 652 additions and 377 deletions

2
4773.js Normal file
View file

@ -0,0 +1,2 @@
"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4773],{4773:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});const a='@{\n var total = 0;\n var totalMessage = "";\n @* a multiline\n razor comment embedded in csharp *@\n if (IsPost) {\n\n // Retrieve the numbers that the user entered.\n var num1 = Request["text1"];\n var num2 = Request["text2"];\n\n // Convert the entered strings into integers numbers and add.\n total = num1.AsInt() + num2.AsInt();\n\t\t<italic><bold>totalMessage = "Total = " + total;</bold></italic>\n }\n}\n\n<!DOCTYPE html>\n<html lang="en">\n <head>\n <title>Add Numbers</title>\n <meta charset="utf-8" />\n </head>\n<body>\n <p>Enter two whole numbers and then click <strong>Add</strong>.</p>\n <form action="" method="post">\n <p><label for="text1">First Number:</label>\n <input type="text" name="text1" />\n </p>\n <p><label for="text2">Second Number:</label>\n <input type="text" name="text2" />\n </p>\n <p><input type="submit" value="Add" /></p>\n </form>\n\n\t@* now we call the totalMessage method \n\t (a multi line razor comment outside code) *@\n\n <p>@totalMessage</p>\n \n <p>@(totalMessage+"!")</p>\n \n An email address (with escaped at character): name@@domain.com\n \n</body>\n</html>\n'}}]);
//# sourceMappingURL=4773.js.map