Method CompareAndApplyDetailedAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
CompareAndApplyDetailedAsync(Project, CancellationToken)
Compares the source project with the project from the API and applies changes while returning detailed success and failure information.
public Task<ProjectCompareAndApplyResult> CompareAndApplyDetailedAsync(Project sourceProject, CancellationToken cancellationToken = default)
Parameters
sourceProjectProjectThe source project to compare.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<ProjectCompareAndApplyResult>
A ProjectCompareAndApplyResult including counts and failed items.
CompareAndApplyDetailedAsync(Project, Project, CancellationToken)
Compares the source project with the project from the API and applies changes while returning detailed success and failure information.
public Task<ProjectCompareAndApplyResult> CompareAndApplyDetailedAsync(Project sourceProject, Project projectFromApi, CancellationToken cancellationToken = default)
Parameters
sourceProjectProjectThe source project to compare.
projectFromApiProjectThe project loaded from the API.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<ProjectCompareAndApplyResult>
A ProjectCompareAndApplyResult including counts and failed items.