Click or drag to resize
UnpackHelpersConvertWithEnsuringNotNullT Method

Note: This API is now obsolete.

Ensures the boxed type is not null thus it cannot be unboxing.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("This API is not used at generated serializers in current release, so this API will be removed future.")]
public static T ConvertWithEnsuringNotNull<T>(
	Object boxed,
	string name,
	Type targetType
)

Parameters

boxed
Type: SystemObject
The boxed deserializing value.
name
Type: SystemString
The name of the member.
targetType
Type: SystemType
The type of the target.

Type Parameters

T
The type of the member.

Return Value

Type: T
The unboxed value.
See Also