Search found 3 matches

by airoll
Sun Apr 21, 2024 11:34 pm
Forum: General Discussion
Topic: How to set up serialization for a custom collection type?
Replies: 4
Views: 1693

Re: How to set up serialization for a custom collection type?

Okay I think I was able to figure this out. I created a ES3ObservableListType and added the relevant logic to ES3TypeMgr.
by airoll
Sun Apr 21, 2024 7:40 am
Forum: General Discussion
Topic: How to set up serialization for a custom collection type?
Replies: 4
Views: 1693

Re: How to set up serialization for a custom collection type?

Hmm, is there an alternative approach or approaches? If I do was you suggested, then I need to rename every reference I have to ObservableList<T> to ObservableListT in my codebase. Can I create a ES3Type for ObservableList<T>?
by airoll
Sun Apr 21, 2024 4:33 am
Forum: General Discussion
Topic: How to set up serialization for a custom collection type?
Replies: 4
Views: 1693

How to set up serialization for a custom collection type?

Hi I am using a custom package that defines its own collection called ObservableList<T>. The code for this class is as follows: public class ObservableList<T> : IList, IList<T>, INotifyCollectionChanged, INotifyPropertyChanged { ... private List<T> list; ... } My goal is that if I have an object lik...