SerializationItem
Ecng.Serialization
Represents a named, typed serialization value.
继承自: Equatable<SerializationItem>
构造函数
SerializationItem
public SerializationItem(string name, Type type, object value)
serializationItem = SerializationItem(name, type, value)
Initializes a new instance with the specified name, type, and value.
属性
Value
public object Value { get; set; }
value = serializationItem.Value
serializationItem.Value = value
Gets or sets the item value.
方法
Clone
public override SerializationItem Clone()
result = serializationItem.Clone()
Creates a deep copy of this item.
GetHashCode
public override int GetHashCode()
result = serializationItem.GetHashCode()
Serves as the default hash function.
返回值: A hash code for the current object.
OnEquals
protected override bool OnEquals(SerializationItem other)
result = serializationItem.OnEquals(other)
ToString
public override string ToString()
result = serializationItem.ToString()
Returns a string representation of the tuple, with values separated by commas.
返回值: A string representing the tuple's values.