private void OnProgressHandler(ExecutionProgressInfo obj) { if (OnProgress != null) { OnProgress(obj); } }
protected void OnProgressHandler(ExecutionProgressInfo obj) { if (OnProgress != null) { OnProgress(obj); } }
void reader_OnProgress(ExecutionProgressInfo obj) { OnProgressHandler(obj); QueryCancelEventArgs args = new QueryCancelEventArgs(); OnQueryCancelHandler(args); if (args.Cancel) { throw new PackageExecutionCancelledException(); } }
private void OnProgress(ExecutionProgressInfo progressInfo, int current, int totalCost) { _progressInfo = progressInfo; _state.Progress = current * 100 / totalCost; _state.ProgressMessage = progressInfo.ModuleName + " : " + progressInfo.Message; }