@@ -196,7 +196,7 @@ private async Task OnSuccessOnTarget(string sessionId, List<string> actionsGroup
196196
197197 if ( ! wasTrackingActionFinished && trackingAction . IsFinished )
198198 {
199- synchronization . Progress . FinishedActionsCount = 1 ;
199+ synchronization . Progress . FinishedActionsCount + = 1 ;
200200 }
201201
202202 needSendSynchronizationUpdated = CheckSynchronizationIsFinished ( synchronization ) ;
@@ -234,10 +234,10 @@ public async Task OnLocalCopyIsDoneAsync(string sessionId, List<string> actionsG
234234
235235 if ( ! wasTrackingActionFinished && trackingAction . IsFinished )
236236 {
237- synchronization . Progress . FinishedActionsCount = 1 ;
237+ synchronization . Progress . FinishedActionsCount = + 1 ;
238238 }
239239
240- synchronization . Progress . ProcessedVolume = trackingAction . Size ?? 0 ;
240+ synchronization . Progress . ProcessedVolume + = trackingAction . Size ?? 0 ;
241241
242242 needSendSynchronizationUpdated = CheckSynchronizationIsFinished ( synchronization ) ;
243243
@@ -288,11 +288,11 @@ public async Task AssertSynchronizationActionErrors(string sessionId, List<strin
288288
289289 if ( isNewError )
290290 {
291- synchronization . Progress . ErrorsCount = 1 ;
291+ synchronization . Progress . ErrorsCount + = 1 ;
292292 }
293293 if ( ! wasTrackingActionFinished && trackingAction . IsFinished )
294294 {
295- synchronization . Progress . FinishedActionsCount = 1 ;
295+ synchronization . Progress . FinishedActionsCount + = 1 ;
296296 }
297297
298298 needSendSynchronizationUpdated = CheckSynchronizationIsFinished ( synchronization ) ;
@@ -314,7 +314,7 @@ public async Task OnMemberHasFinished(string sessionId, Client client)
314314 {
315315 if ( synchronizationEntity . Progress . Members . Contains ( client . ClientInstanceId ) )
316316 {
317- synchronizationEntity . Progress . AddCompletedMember ( client . ClientInstanceId ) ; ;
317+ synchronizationEntity . Progress . CompletedMembers . Add ( client . ClientInstanceId ) ; ;
318318
319319 needSendSynchronizationUpdated = CheckSynchronizationIsFinished ( synchronizationEntity ) ;
320320
0 commit comments