<PackageReference Include="System.Drawing.Common" Version="9.0.0-preview.7.24405.4" />

BinaryFormattedObjectExtensions

public static IRecord Dereference(this IReadOnlyRecordMap recordMap, IRecord record)

Dereferences MemberReference records.

public static bool TryGetFrameworkObject(this BinaryFormattedObject format, out object value)

Try to get a supported .NET type object (not WinForms).

public static bool TryGetNotSupportedException(this BinaryFormattedObject format, out object exception)

Tries to get this object as a binary formatted NotSupportedException.

public static bool TryGetPointF(this BinaryFormattedObject format, out object value)

Tries to get this object as a PointF.

public static bool TryGetPrimitiveArray(this BinaryFormattedObject format, out object value)

Tries to get this object as an Array of primitive types.

public static bool TryGetPrimitiveArrayList(this BinaryFormattedObject format, out object value)

Tries to get this object as a ArrayList of PrimitiveType values.

public static bool TryGetPrimitiveHashtable(this BinaryFormattedObject format, out Hashtable hashtable)

Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.

public static bool TryGetPrimitiveHashtable(this BinaryFormattedObject format, out object hashtable)

Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.

public static bool TryGetPrimitiveList(this BinaryFormattedObject format, out object list)

Tries to get this object as a List<T> of PrimitiveType.

public static bool TryGetPrimitiveRecordValue(this BinaryFormattedObject format, IRecord record, out object value)

Tries to get the value for the given record if it represents a PrimitiveType that isn't Null.

public static bool TryGetPrimitiveRecordValueOrNull(this BinaryFormattedObject format, IRecord record, out object value)

Tries to get the value for the given record if it represents a PrimitiveType.

public static bool TryGetPrimitiveType(this BinaryFormattedObject format, out object value)

Tries to get this object as a primitive type or string.

public static bool TryGetRectangleF(this BinaryFormattedObject format, out object value)

Tries to get this object as a RectangleF.