Class VersionBatchMigrationResult
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the result of a batch migration operation.
public sealed record VersionBatchMigrationResult : IEquatable<VersionBatchMigrationResult>
- Inheritance
-
VersionBatchMigrationResult
- Implements
- Inherited Members
Constructors
VersionBatchMigrationResult(int, int, int, int, IReadOnlyList<(string Id, VersionMigrationResult Result)>, TimeSpan)
Represents the result of a batch migration operation.
public VersionBatchMigrationResult(int TotalItems, int SuccessCount, int FailureCount, int SkippedCount, IReadOnlyList<(string Id, VersionMigrationResult Result)> Results, TimeSpan TotalDuration)
Parameters
TotalItemsintThe total number of items in the batch.
SuccessCountintThe number of successfully migrated items.
FailureCountintThe number of failed migrations.
SkippedCountintThe number of items that didn't require migration.
ResultsIReadOnlyList<(string Id, VersionMigrationResult Result)>The individual migration results.
TotalDurationTimeSpanThe total duration of the batch operation.
Properties
FailureCount
The number of failed migrations.
public int FailureCount { get; init; }
Property Value
Results
The individual migration results.
public IReadOnlyList<(string Id, VersionMigrationResult Result)> Results { get; init; }
Property Value
SkippedCount
The number of items that didn't require migration.
public int SkippedCount { get; init; }
Property Value
SuccessCount
The number of successfully migrated items.
public int SuccessCount { get; init; }
Property Value
TotalDuration
The total duration of the batch operation.
public TimeSpan TotalDuration { get; init; }
Property Value
TotalItems
The total number of items in the batch.
public int TotalItems { get; init; }