%%ItemTitle%%

Compare .NET Objects

Compare .NET Objects
Introduction
Send Feedback

Glossary Item Box



Project Description
What you have been waiting for. Perform a deep compare of any two .NET objects using reflection. Shows the differences between the two objects.

Compatiblity
Compatible with .NET Framework 3.5 and higher. Portable Class Library version works with .NET 4.0+, Silverlight 5+, Windows Phone 8+, Windows RT 8+, Xamarin iOS, and Xamarin Droid.  It supports .NET Standard 1.6 and DotNetCore applications too.

NuGet Package
http://www.nuget.org/packages/CompareNETObjects

Features
  • Compare Children (on by default)
  • Handling for Trees with Children Pointing To Parents
  • Compare Dynamic Objects
  • Compare Primitive Types
  • Compare Structs
  • Compare IList Objects
  • Compare Single and Multi-Dimensional Arrays
  • Compare IDictionary Objects
  • Compare Publicly visible Class Fields and Properties
  • Compare Private Fields and Properties (off by default)
  • Compare Enums
  • Compare Timespans
  • Compare Guids
  • Compare Classes that Implement IList with Indexers
  • Compare DataSet Data
  • Compare DataTable Data
  • Compare DataRow Data
  • Compare DataColumn Differences
  • Compare LinearGradient
  • Compare HashSet
  • Compare URI
  • Compare IPEndPoint
  • Compare Types of Type (RuntimeType)
  • Source code in C#
  • NUnit Test Project Included
  • Ability to load settings from a config file for use with powershell
  • Several configuration options for comparing private elements, ignoring specific elements, including specific elements.
  • Property and Field Info reflection caching for increased performance
  • Rich Differences List or simple DifferencesString
  • Supports custom comparison functions
  • ElapsedMilliseconds indicates how long the comparison took
  • Ability to IgnoreCollectionOrder
  • Thread Safe
  • Ability to pass in the configuration
  • Ability to ignore indexer comparison
  • Interface member filtering
  • Ability to treat string.empty and null as equal
© Kellerman Software 2018. All Rights Reserved.