Regeneration Class

Utility class for block and entities regeneration.
Public Class Regeneration 
Inherits WorkUnit
This language is not supported or no code example is available.
public class Regeneration : WorkUnit
This language is not supported or no code example is available.
Name Description
Public property Count Gets the number of regenerated entities.
Public property Entities Gets the entities to be regenerated.
Public property ExecutionTime Gets or sets the (last) work execution time in milliseconds. (inherited from WorkUnit).
Public property Log Gets the list of errors and warnings generated during execution. (inherited from WorkUnit).
Public property RegenParams RegenParams.
Public property Status Gets the WorkUnit status. (inherited from WorkUnit).
Top
Methods
 
Name Description
Public method AppendToLog(string) Appends a message to the log. (inherited from WorkUnit).
Public method Cancelled(BackgroundWorker, DoWorkEventArgs) Checks if the user has requested cancellation of the background operation. (inherited from WorkUnit).
Public method DoWork(BackgroundWorker, DoWorkEventArgs) Does the actual work allowing progress bar update and cancellation.
Public method Equals(Object) (inherited from Object).
Protected method Finalize (inherited from Object).
Public method GetHashCode (inherited from Object).
Public method GetType (inherited from Object).
Protected method MemberwiseClone (inherited from Object).
Public method ResetProgress() Resets the progress. (inherited from WorkUnit).
Internal protected (Protected Friend) method ResetProgressParallel(int) Resets the progress bar for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method StartContinuousAnimation(string, BackgroundWorker, params string[]) Start the animation for the continuous progress bar. (inherited from WorkUnit).
Internal protected (Protected Friend) method StopContinuousAnimation(BackgroundWorker) Stop the animation for the continuous progress bar. (inherited from WorkUnit).
Public method ToString (inherited from Object).
Public method UpdateProgress(double, double, string, BackgroundWorker, bool, params string[]) Updates the progress bar value. (inherited from WorkUnit).
Public method UpdateProgress(int, int, string, BackgroundWorker, bool, params string[]) Updates the progress bar value. (inherited from WorkUnit).
Public method UpdateProgressAndCheckCancelled(int, int, string, BackgroundWorker, DoWorkEventArgs, bool, params string[]) Updates the progress bar value and checks if the worker thread has been canceled. (inherited from WorkUnit).
Public method UpdateProgressAndCheckCancelledParallel(int, string, BackgroundWorker, DoWorkEventArgs, params string[]) Updates the progress bar value and checks if the worker thread has been canceled, for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method UpdateProgressParallel(double, string, BackgroundWorker, params string[]) Updates the progress bar value for a parallel loop. (inherited from WorkUnit).
Internal protected (Protected Friend) method UpdateProgressTo100(string, BackgroundWorker, params string[]) Set the progress bar to 100% and forces screen update. (inherited from WorkUnit).
Public method WorkCancelled(object) Called when the work is cancelled. (inherited from WorkUnit).
Public method WorkCompleted(object) Called when the work has completed. In the case you are modeling something, the sender parameter allows you to easily add the content to the entities collection.
Public method WorkFailed(object) Called when the work has failed. (inherited from WorkUnit).
Top
Events
 
Name Description
Public event ProgressChanged Occurs when the DoWork() is called synchronously and the progress has changed. (inherited from WorkUnit).
Top
Fields
 
Name Description
Internal protected (Protected Friend) field log (inherited from WorkUnit).
Top
devDept.Eyeshot.Regeneration

.NET Framework

Supported in: 4.7.2

In this article

Definition