Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In previous versions of uSync you used to be able to do something similar like:
var uSyncBackOffice = uSyncBackOfficeContext.Instance;
var actions = uSyncBackOffice.ImportAll()
Can you point me in the right direction of how you would go about this in uSync8 please?
With v8 you have to do this with dependency injection but you can do it. you need to load the uSyncService and then you can access Import/Report/etc...
public class MyService
private readonly uSyncService _uSyncService;
public MyService(uSyncService uSyncService)
_uSyncService = uSyncService;
public void FullImport()
var settings = Current.Configs.uSync();
_uSyncService.Import(settings.RootFolder, false, default(SyncHandlerOptions));
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted