小修小改

This commit is contained in:
fengjiayi
2025-07-27 23:46:26 +08:00
parent d3c3210ccc
commit c3bfb9b734
7 changed files with 28 additions and 15 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
using Serein.Extend.NewtonsoftJson;
using Serein.Library.Api;
using Serein.Library.Utils;
using Serein.NodeFlow.Env;
@@ -54,6 +55,7 @@ namespace Serein.Workbench
public static void AddFlowServices(this IServiceCollection collection)
{
#region
JsonHelper.UseJsonProvider(new NewtonsoftJsonProvider());
Func<SynchronizationContext>? getSyncContext = null;
Dispatcher.CurrentDispatcher.Invoke(() =>
{