• Post Reply Bookmark Topic Watch Topic
  • New Topic

Preserve original value of a non-serializable object

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me answer my own question. I got an explanation from an Ethuware mock test. The non-serializable field can be stored in a variable, such as a string during PrePassive. Then, the non-serializable field can be recreated using the value of the string in PostActivate.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!