MercuryTech.Language.ObjectExtension 0.8.0.13

dotnet add package MercuryTech.Language.ObjectExtension --version 0.8.0.13
                    
NuGet\Install-Package MercuryTech.Language.ObjectExtension -Version 0.8.0.13
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MercuryTech.Language.ObjectExtension" Version="0.8.0.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MercuryTech.Language.ObjectExtension" Version="0.8.0.13" />
                    
Directory.Packages.props
<PackageReference Include="MercuryTech.Language.ObjectExtension" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MercuryTech.Language.ObjectExtension --version 0.8.0.13
                    
#r "nuget: MercuryTech.Language.ObjectExtension, 0.8.0.13"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MercuryTech.Language.ObjectExtension@0.8.0.13
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MercuryTech.Language.ObjectExtension&version=0.8.0.13
                    
Install as a Cake Addin
#tool nuget:?package=MercuryTech.Language.ObjectExtension&version=0.8.0.13
                    
Install as a Cake Tool

Mercury.Language.ObjectExtension

This package provides an extension method for the Object class. This extension method compares two Objects and evaluates to True if each property has the same value. Normally, C# evaluates each Object reference and determines that they are "not the same" even if each property has the same value, but this extension method determines that they are "equivalent objects" if all properties have the same value.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MercuryTech.Language.ObjectExtension:

Package Downloads
MercuryTech.Language.Core

Supplemental Extension Methods for Object comparison and Premitive classes

MercuryTech.Test.Utility

Utility class library for Test supporting methods. Very complex object also can evaluate if the object instances are equal or not, etc.

FudgeMessage

Fudge Messaging Stand-alone messaging system that has been designed for message-passing, such as in Remote Procedure Calls (RPC) or Message Oriented Middleware (MOM). It is less suited for streaming data. Because it simply specifies the message content, it can be used with HTTP, JMS, AMQP and many other underlying transports.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0.13 189 4/30/2025
0.8.0.12 164 4/30/2025
0.8.0.11 163 12/7/2024
0.8.0.10 143 11/28/2024
0.8.0.9 141 10/17/2024
0.8.0.8 143 10/16/2024
0.8.0.7 144 10/16/2024
0.8.0.6 155 10/13/2024
0.8.0.5 134 9/6/2024

[0.8.0.1]
- Separated ObjectExtension class and TypeExtension class to be more portable

[0.8.0.2]
- Changed the LocalizedResource class to internal class; to avoid conflict with Mercury.Language.Core library.

[0.8.0.3]
- Bug fix when the Target object contains "Type" as a property, it would be significant consuming time to process.

[0.8.0.4]
- Fix for comparing the values; before, try to Equals() to evaluate, then if false, proceed to the current logic.

[0.8.0.5]
- Bug fix for AreObjectsEqual() method to treat Type property.

[0.8.0.6]
- Updated referenced packages

[0.8.0.7]
- Bug fix for the EvaluateObjectsComparison() method which throwing exception when the property item is ICollection and contains null item.

[0.8.0.8]
- Streamlined the EvaluateObjectsComparison() method and add StackTrace to output when unexpected Exception occured.

[0.8.0.9]
- Added more condition to avoid Null reference to be evaluated and cause of exception.

[0.8.0.10]
- Ported DateTimeExtension class

[0.8.0.13]
- Updated target framework from .NET 7 to .NET 8