CA-266891: fixed issue where enum properties were not serialised correctly.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2017-11-23 15:02:40 +00:00
parent bcab8a5c6c
commit 2ff121fb55

View File

@ -264,11 +264,6 @@ namespace XenAPI
internal class XenEnumConverter : StringEnumConverter
{
public override bool CanWrite
{
get { return false; }
}
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
{
JToken jToken = JToken.Load(reader);