Dont serialize delegates
This commit is contained in:
parent
d6135116f1
commit
7abfe28e9b
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user