SerializationRecordExtensions
public static object Deserialize(this SerializationRecord rootRecord, IReadOnlyDictionary<SerializationRecordId, SerializationRecord> recordMap, ITypeResolver typeResolver)
Deserializes the SerializationRecord to an object.
Tries to get this object as a Color.
Try to get a supported System.Drawing.Primitives object that has a TypeConverter.
This method is used for Clipboard payload deserialization. ResX deserialization uses TypeConverters for these types.
Try to get a supported .NET type object (not WinForms) that has no TypeConverter.
public static bool TryGetNotSupportedException(this SerializationRecord record, out object exception)
Tries to get this object as a binary formatted NotSupportedException.
Tries to get this object as a Point.
Tries to get this object as a PointF.
Tries to get this object as an Array of primitive types.
Tries to get this object as a ArrayList of PrimitiveType values.
public static bool TryGetPrimitiveHashtable(this SerializationRecord record, out Hashtable hashtable)
Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.
Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.
Tries to get this object as a List<T> of PrimitiveType.
Tries to get this object as a primitive type or string.
Tries to get this object as a Rectangle.
Tries to get this object as a RectangleF.
Tries to get this object as a Size.
Tries to get this object as a SizeF.