EnumMessagePackSerializerHelpersDetermineEnumSerializationMethod Method |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static EnumSerializationMethod DetermineEnumSerializationMethod(
SerializationContext context,
Type enumType,
EnumMemberSerializationMethod enumMemberSerializationMethod
)
Public Shared Function DetermineEnumSerializationMethod (
context As SerializationContext,
enumType As Type,
enumMemberSerializationMethod As EnumMemberSerializationMethod
) As EnumSerializationMethod
public:
static EnumSerializationMethod DetermineEnumSerializationMethod(
SerializationContext^ context,
Type^ enumType,
EnumMemberSerializationMethod enumMemberSerializationMethod
)
static member DetermineEnumSerializationMethod :
context : SerializationContext *
enumType : Type *
enumMemberSerializationMethod : EnumMemberSerializationMethod -> EnumSerializationMethod
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:
EnumSerializationMethodDetermined
EnumSerializationMethod for the target.
Exceptions See Also