expression is not parsed when @Model is preceded with text
Closed this issue · 1 comments
agolaszewski commented
Example:
I@Model.Type
-> expected result IFoo
however template is compiled to "I@Model.Type"
workaround:
@string.Format("I{0}",@Model.Type)
matthid commented
I think that is by design as the razor engine tries to be clever and support email addresses (afaik)