In order for classes like PropertyModelBase and PropertyModel to be used in dictionaries and equality operations elsewhere, I think it would be a good approach to implement the IEquatable<T> interface on these.
For example, the PropertyModelBase could implement the interface based on the PropertyName member.
In order for classes like
PropertyModelBase
andPropertyModel
to be used in dictionaries and equality operations elsewhere, I think it would be a good approach to implement theIEquatable<T>
interface on these.For example, the
PropertyModelBase
could implement the interface based on thePropertyName
member.