只要有可能,“编辑并继续”就会将不可编辑的代码标记为浅灰色。
Whenever possible, Edit and Continue marks code that cannot be edited as light gray.
这个独特的技术——使用标记来识别代码中的内容块——是使Razor在涉及HTML生成的情况下简洁高效的一个重要因素。
This particular technique - using tags to identify content blocks within code - is one of the key ingredients that makes Razor so clean and productive with scenarios involving HTML creation.
清单23显示使用多个animator标记的代码。
Well, the first line of code, I'll fix the purple next time around so it's more legible.
第一行代码,我用紫色标记,这样增加了可读性。
应用推荐