Example #1
0
 static void Calc(RenderTarget contentTarget)
 {
     contentTarget.Value = SeeRawTypes.Action("Add", (int a, int b) => contentTarget.Value = $"Result: {a + b}");
 }
Example #2
0
 static void SayHi(RenderTarget contentTarget)
 {
     contentTarget.Value = SeeRawTypes.Action("Please enter your details", (string name, Title title) => contentTarget.Value = $"Hi {title} {name}");
 }