Found 44 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.
Quickly and efficiently implement the Equals and GetHashCode for value objects
High performance generic memberwise GetHashCode()
Super fast runtime generator for method Equal and GetHashCode. It provides methods for simple property-based comparer.
Class that can compute and verify salted hashes. CodeBits are useful code blocks that can included in your C# projects through NuGet. See the project site for documentation.
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.
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.
...
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() - ....
Easy way to autogenerate GetHashCode function
Quick, easy, and correct implementation of object equality in .NET
This project makes it easy to get a hash code that would not collide with other hashcode. It provides for multiplications by prime numbers to get to a non colliding hash code. Inspired by http://stackoverflow.com/questions/5450696/c-sharp-generic-hashcode-implementation-for-classes
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> {}`
This is my First NuGet package for .NET, This is a piece of code i actually lifted from The Awesome People over at CrackStation I strongly suggest you check out that guide (Guide link is in the Github Repo) if you're new to Cryptography or have never build an authentication system before. To be Very clear i did not write this piece of code i am only packaging it with some minor changes to the layout of Program.cs, I just find myself using it enough i felt it warranted packaging :) Note: The library was written on linux and built with mono with no issues but should be fully windows and visualstudio compatible also. Checkout Test.cs in the tests folder for some quick and dirty examples of how to use the package, Happy Coding.
Automatically generates Equals and GetHashCode for annotated classes.
Source code package. A utility class for obtaining a "fingerprint" (hash) of an exception to help identify common or frequently thrown exceptions in logs.
Builds MD5 hash for a combination of standard .NET types. Add this package to your core library, so it would get the source code of this module without installing a binary dependency. Then proceed with using corresponding functionality from Atom.Util namespace, like if it was installed using binary assembly. Check out GitHub for more docs and usage examples.
Extension methods for System.String