public void ReportObjectLoaded(int percent, object obj) { if (WorkerReportsProgress) { ObjectLoadedProviderEventArgs progressArgs; progressArgs = new ObjectLoadedProviderEventArgs(percent, obj); OnObjectLoaded(progressArgs); } }
protected virtual void OnObjectLoaded(ObjectLoadedProviderEventArgs progressArgs) { ProcessDelegate(ObjectLoaded, this, progressArgs); }