Found 32 packages
Generate Equals, GetHashCode and operator methods from properties for classes decorated with an [Equals] Attribute.
A micro library for easily creating C# classes with value semantics. No need to override Equals, GetHashCode, et all.
Efficient hash code and equality implementations for arbitrary objects.
This library allows to define IEqualityComparer on arbitrary types to compare objects based on their members. Members are explicitly configured with strongly-typed fluent API. Members are not limited to properties but fields and methods can also be used for comparison. The library allows to implement overrides of Equals and GetHashCode methods by using provided MemberEqualityComparer type thus minimizing boilerplate.
Super fast runtime generator for method Equal and GetHashCode. It provides methods for simple property-based comparer.
...
High performance generic memberwise GetHashCode()
Represents a string which is guaranteed to be interned. Provides an optimized GetHashCode() and Equals(...) overrides, which rely on reference comparison rather than string contents.
Quickly and efficiently implement the Equals and GetHashCode for value objects
If you would like to have a typed C#-like runtime in the browser instead of just at designtime with TypeScript, including type introspection, you reached the right place. If you are a fan of LINQ for Objects and enumerations, you definatelly reached the right place. Accelatrix is compatible with ES5 and provides a C#-like runtime in the browser, including: - GetHashCode() - GetType() - Equals() - ToString() You can now use your favourite LINQ operator functions operating on enumerations, not collections, and arrays are now enumerations: - Select() - Where() - SelectMany() - Distinct() - OfType() - GroupBy() - Skip() - Take() - Any() - ToList() - ....
Quick, easy, and correct implementation of object equality in .NET
Declare Value Objects in one line e.g. `class ClientRef : ValueOf<string, ClientRef> { }`), create using `ClientRef.From(someString)` The base Type ValueOf<TValue, TThis>, provides Equals, GetHashcode. Use ValueTuples for multi property values e.g `class Address : ValueOf<(string firstLine, string secondLine, Postcode postcode), Address> {}`
Extension methods for System.String
Automatically generates Equals and GetHashCode for annotated classes.
Inheritable tuples with protected members, correct equals contract and optional cacheable hashcodes.
A trivial class that is used to make sure that Equals and GetHashCode are properly overloaded with the correct semantics
C# class library, auto-generating the Equals and GetHashCode methods, based on the attribute configuration.
A Source Generator that automatically implements the Equals method of IEquatable<T>
Generate the Equals, GetHashCode and operators methods from properties or fields decorated with the [Equals] Attribute.