SerializationItem
Ecng.Serialization
Represents a named, typed serialization value.
Erbt von: Equatable<SerializationItem>
Konstruktoren
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.
Eigenschaften
Value
public object Value { get; set; }
value = serializationItem.Value
serializationItem.Value = value
Gets or sets the item value.
Methoden
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.
Rückgabe: 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.
Rückgabe: A string representing the tuple's values.