Replace UniqueList, UniqueListEquatable and UniqueTrackObjectCollection with List<>. This would allow track objects to have their position changed without creating new instances and heavily improve performance on collection edits.
To check for duplicates when reading and writing files, I added the DuplicateTrackObjectPolicy property to ReadingConfiguration and WritingConfiguration. If the policy if set to IncludeAll, no duplicate checks are made. Otherwise, only include the first object or throw an exception depending on the policy.
As for the exception type, it would just be Exception for now until I can think of something better (potentially a custom exception?)
Once done, apply ObsoleteAttribute to UniqueList, UniqueListEquatable and UniqueTrackObjectCollection
Replace UniqueList, UniqueListEquatable and UniqueTrackObjectCollection with List<>. This would allow track objects to have their position changed without creating new instances and heavily improve performance on collection edits.
To check for duplicates when reading and writing files, I added the DuplicateTrackObjectPolicy property to ReadingConfiguration and WritingConfiguration. If the policy if set to IncludeAll, no duplicate checks are made. Otherwise, only include the first object or throw an exception depending on the policy.
As for the exception type, it would just be Exception for now until I can think of something better (potentially a custom exception?)
Once done, apply ObsoleteAttribute to UniqueList, UniqueListEquatable and UniqueTrackObjectCollection