|
@@ -33,7 +33,7 @@ public class ClientProvider(IClientCaller clientCaller, IClientBaseProvider base
|
|
|
|
|
|
if (_streamBuffer.TryRemove(fileType, out MemoryStream? memoryStream) && memoryStream is not null)
|
|
|
memoryStream.Dispose();
|
|
|
-
|
|
|
+ baseProvider?.FileReceivedNotify(fileType);
|
|
|
return Task.FromResult(true);
|
|
|
}
|
|
|
|
|
@@ -93,6 +93,8 @@ public class ClientProvider(IClientCaller clientCaller, IClientBaseProvider base
|
|
|
|
|
|
public interface IClientBaseProvider
|
|
|
{
|
|
|
- public string? RecipePath { get; set; }
|
|
|
- public string? ConfigPath { get; set; }
|
|
|
+ string? RecipePath { get; set; }
|
|
|
+ string? ConfigPath { get; set; }
|
|
|
+
|
|
|
+ void FileReceivedNotify(FileType fileType);
|
|
|
}
|