Synchronizer error factory implementation (#645)
* Added sync error factories for outlook and gmail. * Implement ObjectCannotBeDeletedHandler for OutlookSynchronizer. * Remove debug code. * Implement del key to delete on mail list. * Revert debug code.
This commit is contained in:
@@ -4,6 +4,7 @@ using Wino.Authentication;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
using Wino.Core.Integration.Processors;
|
||||
using Wino.Core.Services;
|
||||
using Wino.Core.Synchronizers.Errors.Outlook;
|
||||
using Wino.Core.Synchronizers.ImapSync;
|
||||
|
||||
namespace Wino.Core;
|
||||
@@ -34,5 +35,11 @@ public static class CoreContainerSetup
|
||||
services.AddTransient<CondstoreSynchronizer>();
|
||||
services.AddTransient<QResyncSynchronizer>();
|
||||
services.AddTransient<UidBasedSynchronizer>();
|
||||
|
||||
// Register error factory handlers
|
||||
services.AddTransient<ObjectCannotBeDeletedHandler>();
|
||||
|
||||
services.AddTransient<IOutlookSynchronizerErrorHandlerFactory, OutlookSynchronizerErrorHandlingFactory>();
|
||||
services.AddTransient<IGmailSynchronizerErrorHandlerFactory, GmailSynchronizerErrorHandlingFactory>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user