работоспособность восстановлена, все проблемы которые подсвечиваются решены
This commit is contained in:
@@ -45,7 +45,6 @@ public class JsonFrontendSerialisationModule
|
||||
parsed = JsonSerializer.Deserialize<FinalCommandExecution<T>>(receiveMessage)!;
|
||||
}
|
||||
|
||||
parsed.Result = parsed.Result! is JsonElement e ? e.Deserialize<T>() : (T)parsed.Result!;
|
||||
return parsed;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,12 +14,13 @@ public class TransmittedSharedObject<T> where T : notnull
|
||||
throw new NullReferenceException(
|
||||
"DefaultContextRepository was not defined");
|
||||
|
||||
private int ContextId { get; init; } = -1;
|
||||
// ReSharper disable once MemberCanBePrivate.Global
|
||||
public int ContextId { get; init; } = -1;
|
||||
|
||||
[JsonIgnore]
|
||||
public T? Value => GetDefaultContextRepository().GetObject<T>(ContextId);
|
||||
|
||||
private TransmittedSharedObject()
|
||||
public TransmittedSharedObject()
|
||||
{
|
||||
}
|
||||
public TransmittedSharedObject(T value)
|
||||
|
||||
Reference in New Issue
Block a user