Browse Source
Merge pull request #10124 from abpframework/maliming-patch-snake_case
Update Text-Templating.md
pull/10126/head
liangshiwei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
docs/zh-Hans/Text-Templating.md
|
|
|
@ -187,9 +187,9 @@ var result = await _templateRenderer.RenderAsync( |
|
|
|
|
|
|
|
示例中我们并没有创建模型类,但是创建了一个匿名对象模型. |
|
|
|
|
|
|
|
### 大驼峰 与 小驼峰 |
|
|
|
### PascalCase 与 snake_case |
|
|
|
|
|
|
|
PascalCase 属性名(如 `UserName`) 在模板中用做小驼峰(如 `userName`). |
|
|
|
PascalCase 属性名(如 `UserName`) 在模板中使用蛇形命名(如 `user_name`). |
|
|
|
|
|
|
|
## 本地化 |
|
|
|
|
|
|
|
@ -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). |
|
|
|
|