public static Progress NOPProgress() { ProgressBarIncrementer pbi = (int n) => { return; }; ProgressBarReset pbr = () => { return; }; return(new Progress(pbi, pbr, 1L)); }
public Progress(ProgressBarIncrementer progBarIncrement, ProgressBarReset progBarReset, long workMultiplier) { _progBarIncr = progBarIncrement; _progBarReset = progBarReset; _workMultiplier = workMultiplier; }