ProgressAdapterFactory
- Namespace:
PPDS.Migration.Progress - Assembly:
PPDS.Migration - Kind: Class
Summary
Creates System.IProgress1adapters that bridgePPDS.Dataverse.Progress.ProgressSnapshottoPPDS.Migration.Progress.IProgressReporter`.
Members
Methods
Create
IProgress<ProgressSnapshot> Create(IProgressReporter reporter, Func<ProgressSnapshot, ProgressEventArgs> mapper)
Creates an System.IProgress1that maps each snapshot to aPPDS.Migration.Progress.ProgressEventArgsvia the suppliedmapperand forwards it to thereporter`.
-
Param
reporter: The progress reporter to forward to. -
Param
mapper: A function that converts aPPDS.Dataverse.Progress.ProgressSnapshotinto aPPDS.Migration.Progress.ProgressEventArgs. -
Returns: An
System.IProgress1` adapter.