This abstract object has a DynamicPropertyBase.propertyTable dictionary keeps as a dynamics property source.
DynamicPropertyBase
| Name | Description |
|---|---|
T |
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Add | 2 | |
| HasProperty | 1 | Determines whether the Dictionary contains the specified key. |
| GetNames | 1 | Get all keys in DynamicPropertyBase.Properties |
| EnumerateKeys | 1 | 枚举这个动态字典类型之中的所有的键名,这个函数是默认不包含有类型自有的属性名称的 |
| SetValue | 1 | |
| GetItemValue | 1 | |
| ToString | 1 | |
| op_Explicit | 1 | |
| GetEnumerator | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Properties | 1 | The dynamics property object with specific type of value. |
| ItemValue | 4 | Get a value package at once using a key collection, if the key is not exists in the property, then its correspoding value is nothing. |
| MyHashCode | 1 | Using for debugger view, this property is usually usefull for the dictionary view to see if any duplicated was existed? |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| propertyTable | 1 | 动态属性表 |
05 Members
String, `0)Add a property into the property table
| Name | Type | Description |
|---|---|---|
propertyName$ | String | - |
value | `0 | - |
String)Determines whether the Dictionary contains the specified key.
| Name | Type | Description |
|---|---|---|
name | String | The key to locate in the Dictionary. |
true if the Dictionary contains an element with the specified key; otherwise, false.
Get all keys in DynamicPropertyBase.Properties
Boolean)枚举这个动态字典类型之中的所有的键名,这个函数是默认不包含有类型自有的属性名称的
| Name | Type | Description |
|---|---|---|
joinProperties | Boolean | 是否包括属性名称,默认不包含 |
The dynamics property object with specific type of value.
Can not serialize the dictionary object in to xml document. and this property ensure that the value always not null!
String)Gets/sets item value by using property name.
(这个函数为安全的函数,当目标属性不存在的时候,会返回空值)
| Name | Type | Description |
|---|---|---|
name | String | - |
IEnumerable(Of String))Get a value package at once using a key collection, if the key is not exists in the property, then its correspoding value is nothing.
| Name | Type | Description |
|---|---|---|
keys | IEnumerable(Of String) | - |
IEnumerable(Of INamedValue))Get a value package at once using a key collection, if the key is not exists in the property, then its correspoding value is nothing.
| Name | Type | Description |
|---|---|---|
keys | IEnumerable(Of INamedValue) | - |
IEnumerable(Of IReadOnlyId))Get a value package at once using a key collection, if the key is not exists in the property, then its correspoding value is nothing.
| Name | Type | Description |
|---|---|---|
keys | IEnumerable(Of IReadOnlyId) | - |
Using for debugger view, this property is usually usefull for the dictionary view to see if any duplicated was existed?
动态属性表
IDictionary(Of String, T))String, T)String)