Click or drag to resize
EnumMessagePackSerializerHelpersDetermineEnumSerializationMethod Method
Determines EnumSerializationMethod for the target.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static EnumSerializationMethod DetermineEnumSerializationMethod(
	SerializationContext context,
	Type enumType,
	EnumMemberSerializationMethod enumMemberSerializationMethod
)

Parameters

context
Type: MsgPack.SerializationSerializationContext
Context information.
enumType
Type: SystemType
The target enum type.
enumMemberSerializationMethod
Type: MsgPack.SerializationEnumMemberSerializationMethod
The method argued by the member.

Return Value

Type: EnumSerializationMethod
Determined EnumSerializationMethod for the target.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is null. Or enumType is null.
See Also