From fbba7c45b96054e1ece175d5943758ce96855b74 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 31 May 2023 21:44:16 +0200 Subject: [PATCH] annotation --- Tranga/TrangaTask.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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");