SimpleConfig
01 Syntax
Microsoft.VisualBasic.ComponentModel.Settings.SimpleConfig
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToString | 1 | Display SimpleConfig.Name |
| TryParse | 1 | |
| GenerateConfigurations | 1 | 从类型实体生成配置文件数据 |
| TryParse | 1 | |
| GenerateConfigurations | 1 |
03 Properties
04 Members
ToString
Display SimpleConfig.Name
TryParse``2(
Boolean, Boolean)Type Parameters
| Name | Description |
|---|---|
T | |
TConfig |
Parameters
| Name | Type | Description |
|---|---|---|
canRead | Boolean | 向文件之中写数据的时候,需要设置为真 |
canWrite | Boolean | 从文件之中读取数据的时候,需要设置为真 |
GenerateConfigurations``1(
``0, Func(Of String, String, String))从类型实体生成配置文件数据
Remarks
类型实体之中的简单属性,只要具备可读属性即可被解析出来
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
target | ``0 | - |
formats | Func(Of String, String, String) |
|
TypeInfo
Name
TryParse(
Boolean, Boolean)GenerateConfigurations(
T, Func(Of String, String, String))