=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
+3
View File
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Utils;
/// <summary>
/// Provides static utility methods for common object-related operations.
/// </summary>
/// <!-- aidoc:v1 sig=97753a4 -->
public static class ObjectUtils
{
/// <summary>
@@ -13,6 +14,8 @@ public static class ObjectUtils
/// </summary>
/// <param name="obj">The object to convert to a string. Can be null.</param>
/// <returns>A string containing the type name followed by the object's non-null property values and their names.</returns>
/// <!-- aidoc-review:v1 severity=low kind=wrong_summary
/// "The format example shows 'TypeName[Property1: Value1,Property2: Value2]' without a trailing comma, but the code always appends a comma after each property value, producing a trailing comma before the closing bracket (e.g., 'TypeName[Prop1: Value1,]')." -->
public static string ToStr(this object? obj)
{
if (obj == null) return "[OBJ NULL]";