diff --git a/Tranga/TrangaTask.cs b/Tranga/TrangaTask.cs index 4cb2206..9ee806e 100644 --- a/Tranga/TrangaTask.cs +++ b/Tranga/TrangaTask.cs @@ -5,7 +5,7 @@ using Tranga.TrangaTasks; namespace Tranga; /// -/// Stores information on Task +/// Stores information on Task, when implementing new Tasks also update the serializer /// public abstract class TrangaTask { @@ -80,6 +80,13 @@ public abstract class TrangaTask public override bool CanWrite => false; + /// + /// Don't call this + /// + /// + /// + /// + /// public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { throw new Exception("Dont call this");