Hi, ist it possible to fix this problem:
the dictionary serialization failes when the object is a string[].
"Dynamic type is not a contract-type: String[]"
[SerializableType]
public class AttributesSample
{
private int fMyProperty1;
[NonSerializableMember]
public int MyProperty1 { get => fMyProperty1; set => fMyProperty1 = value; }
public int MyProperty2 { get; set; }
public string[] MyProperty3 { get; set; }
private Dictionary<string, object> fProcessObjectDictionary;
public Dictionary<string, object> ProcessObjectDictionary
{
get
{
if (fProcessObjectDictionary == null)
{
fProcessObjectDictionary = new Dictionary<string, object>();
}
return fProcessObjectDictionary;
}
set { fProcessObjectDictionary = value; }
}
Hi, ist it possible to fix this problem: the dictionary serialization failes when the object is a string[]. "Dynamic type is not a contract-type: String[]"
[SerializableType] public class AttributesSample { private int fMyProperty1; [NonSerializableMember] public int MyProperty1 { get => fMyProperty1; set => fMyProperty1 = value; }
}