File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/MediaConverters/MediaConverters.Tests/Tool Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11using System . Text . Json ;
22using System . Text . Json . Serialization ;
3+ using dotnetCampus . Ipc . Context ;
34using dotnetCampus . Ipc . IpcRouteds . DirectRouteds ;
45using DotNetCampus . MediaConverters . CommandLineHandlers ;
56using DotNetCampus . MediaConverters . Contexts ;
@@ -26,7 +27,8 @@ public async Task TestBatchImage()
2627
2728 var task = Task . Run ( async ( ) =>
2829 {
29- var provider = new JsonIpcDirectRoutedProvider ( ) ;
30+ var provider = new JsonIpcDirectRoutedProvider ( ipcConfiguration : new IpcConfiguration ( )
31+ . UseSystemTextJsonIpcObjectSerializer ( MediaConverterJsonSerializerSourceGenerationContext . Default ) ) ;
3032 var clientProxy = await provider . GetAndConnectClientAsync ( ipcHandler . IpcName ) ;
3133
3234 var response = await clientProxy . GetResponseAsync < IpcConvertImageResponse > ( IpcPaths . RequestConvertImage , new IpcConvertImageRequest ( )
You can’t perform that action at this time.
0 commit comments