Dont serialize delegates

This commit is contained in:
Marc Hernandez 2025-10-16 15:13:02 -07:00
parent d6135116f1
commit 7abfe28e9b

View File

@ -4,6 +4,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
namespace imm; namespace imm;
@ -51,6 +52,7 @@ public interface Obj<T> : Obj where T : Obj<T>
/// <summary> /// <summary>
/// Gets the change delegate associated with this object. /// Gets the change delegate associated with this object.
/// </summary> /// </summary>
[JsonIgnore]
ChangeDelegate<T> OnChange { get; set; } ChangeDelegate<T> OnChange { get; set; }
/// <summary> /// <summary>