SerializationInfoExtensions Class

Provides extension methods for the SerializationInfo class.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static class SerializationInfoExtensions
Inheritance
Object    SerializationInfoExtensions

Methods

ContainsName Gets whether an entry with the specified name exists in the specified SerializationInfo.
GetValueOrDefault(SerializationInfo, String, Object) Tries to get a value from a SerializationInfo for the given name.
GetValueOrDefaultT(SerializationInfo, String, T) Tries to get a value from a SerializationInfo for the given name.
RemoveValue Removes a value of the specified name from the SerializationInfo.
ReplaceValue Replaces a value with the specified old and new names in the SerializationInfo.
ToEnumerable Gets a lazy-evaluating IEnumerableT wrapper for the specified SerializationInfo.
TryGetValue(SerializationInfo, String, Object) Tries the get value from the SerializationInfo associated with the specified name.
TryGetValueT(SerializationInfo, String, T) Tries the get value from the SerializationInfo associated with the specified name.
UpdateValue Updates or adds a value with the specified name in the SerializationInfo.

See Also