public SyncEngine(Config cfg, OneDriveApi onedrive) { this.cfg = cfg; this.onedrive = onedrive; session = new UploadSession(onedrive, cfg.UploadStateFilePath); }
public UploadSession(OneDriveApi onedrive, string sessionFilePath) { this.onedrive = onedrive; this.sessionFilePath = sessionFilePath; }