c# - Where to put the equality function for a class in a third party library? -


i'm using third party library containing class lacks both operator==() , equals(). i'd implement 1 myself, i'm not sure how name , put it. i've tried add both operators extension method, both failed. i've written isequalto() function, results in rather confusing client code. know more elegant solution?

would option inherit or wrap third party class?


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -