public sealed class Metadata : Dictionary<string, string>,
IPackagePublic NotInheritable Class Metadata
Inherits Dictionary(Of String, String)
Implements IPackage[<SealedAttribute>]
type Metadata =
class
inherit Dictionary<string, string>
interface IPackage
end| Metadata | 初始化 Metadata 类的一个新实例 |
| Comparer | Gets the IEqualityComparerT that is used to determine equality of keys for the dictionary. (继承自 DictionaryString, String。) |
| Count | Gets the number of key/value pairs contained in the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| Item | 获取或设置指定键的值。 |
| Keys | Gets a collection containing the keys in the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| Values | Gets a collection containing the values in the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| Add | 向元数据集合添加一个键值对。如果键已经存在,则覆盖其值。 |
| Clear | Removes all keys and values from the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| ContainsKey | Determines whether the DictionaryTKey, TValue contains the specified key. (继承自 DictionaryString, String。) |
| ContainsValue | Determines whether the DictionaryTKey, TValue contains a specific value. (继承自 DictionaryString, String。) |
| EnsureCapacity | Ensures that the dictionary can hold up to a specified number of entries without any further expansion of its backing storage. (继承自 DictionaryString, String。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| GetEnumerator | Returns an enumerator that iterates through the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the DictionaryTKey, TValue instance. (继承自 DictionaryString, String。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (继承自 DictionaryString, String。) |
| PackageTWriter |
打包。
重写的话,约定基类方法必须先执行 |
| Remove(TKey) | Removes the value with the specified key from the DictionaryTKey, TValue. (继承自 DictionaryString, String。) |
| Remove(TKey, TValue) | Removes the value with the specified key from the DictionaryTKey, TValue, and copies the element to the value parameter. (继承自 DictionaryString, String。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| TrimExcess | Sets the capacity of this dictionary to what it would be if it had been originally initialized with all its entries. (继承自 DictionaryString, String。) |
| TrimExcess(Int32) | Sets the capacity of this dictionary to hold up a specified number of entries without any further expansion of its backing storage. (继承自 DictionaryString, String。) |
| TryAdd | Attempts to add the specified key and value to the dictionary. (继承自 DictionaryString, String。) |
| TryGetValue | Gets the value associated with the specified key. (继承自 DictionaryString, String。) |
| UnpackageTReader |
解包。
重写的话,约定基类方法必须先执行 |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |