Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Text-Templating.md #10124

Merged
merged 1 commit into from
Sep 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/zh-Hans/Text-Templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ var result = await _templateRenderer.RenderAsync(

示例中我们并没有创建模型类,但是创建了一个匿名对象模型.

### 大驼峰小驼峰
### PascalCasesnake_case

PascalCase 属性名(如 `UserName`) 在模板中用做小驼峰(如 `userName`).
PascalCase 属性名(如 `UserName`) 在模板中使用蛇形命名(如 `user_name`).

## 本地化

Expand Down Expand Up @@ -454,4 +454,4 @@ public class MyTemplateContentProvider

* 本文开发和引用的[应用程序示例源码](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo).
* [本地化系统](Localization.md).
* [虚拟文件系统](Virtual-File-System.md).
* [虚拟文件系统](Virtual-File-System.md).