How to make C# Windows Runtime Component types equatable?
I'm writing a Windows Runtime Component in C#. I want to implement the
IEquatable interface in some of my types. I don't need to expose the
Equals method to the consumers of the component, I just want my unit tests
to be able to compare between instances. Implementing IEquatable is not
allowed because it's a generic type. What would be the best alternative?
No comments:
Post a Comment