public void SetupSerializeHyperion() { var options = new Hyperion.SerializerOptions( versionTolerance: true, preserveObjectReferences: true ); _value = GetValue(); _serializer = new Hyperion.Serializer(options); }
public void SetupDeserializeHyperion() { var options = new Hyperion.SerializerOptions( versionTolerance: true, preserveObjectReferences: true ); _serializer1 = new Hyperion.Serializer(options); var s = new MemoryStream(); _serializer1.Serialize(GetValue(), s); _hyperionData = s.ToArray(); }