Hi I am using a custom package that defines its own collection called ObservableList<T>. The code for this class is as follows:
Code: Select all
public class ObservableList<T> : IList, IList<T>, INotifyCollectionChanged, INotifyPropertyChanged
{
...
private List<T> list;
...
}
My goal is that if I have an object like the following, that I am able to properly serialize and deserialize these ObservableList<T> such that when I save MyObject, it is able to save the list.
Code: Select all
public class MyObject
{
...
private ObservableList<int> list;
...
}
When I try to use the Window > Easy Save 3 > Types, ObservableList<T> does not appear. How can I go about supporting ObservableList<T> so that it can be saved and loaded properly?