Click or drag to resize

BuildProgress Class

Represents the amount of progress a build task is at.
Inheritance Hierarchy
SystemObject
  UMod.BuildPipelineBuildProgress

Namespace:  UMod.BuildPipeline
Assembly:  UMod-BuildPipeline (in UMod-BuildPipeline.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class BuildProgress

The BuildProgress type exposes the following members.

Constructors
  NameDescription
Public methodBuildProgress
Initializes a new instance of the BuildProgress class
Top
Properties
  NameDescription
Public propertyCurrentPercentage
Get the current percentage value for the build.
Public propertyCurrentProgress
Get the current progress value for the build. The valud is normalized between 0-1 where 0 represents no progress and 1 represents a completed build.
Public propertyCurrentTask
Get the task that is currently being performed by the build engine.
Public propertyIsCancelled
Returns true if the user has cancelled the export via the progress dialog window. This value will remain true after the initial cancel.
Public propertyTitle
Top
Methods
  NameDescription
Public methodCloseProgressWindow
Public methodDisplayProgressWindow
Force the progress dialog to be shown using the current progress values. The progress window will be automatically displayed as a result of calling SetCurrentProgress(Single), SetCurrentProgress(Int32, Int32) or SetCurrentTask(String). Use CloseProgressWindow to hide the progress window if required.
Public methodNextTask
Public methodReset
Reset the build progress.
Public methodSetCurrentProgress(Single)
Set the current progress value for the current progress task. The progress window will be automatically shown as a result of calling this method.
Public methodSetCurrentProgress(Int32, Int32)
Set the current progress values for a task that has a number of steps. This method will automatically calculate the progress value using the provided information. The progress window will be automatically shown as a result of calling this method.
Public methodSetCurrentTask
Set the info of the current progress action. The progress window will be automatically shown as a result of calling this method.
Public methodSetMaxTasks
Top
Fields
  NameDescription
Public fieldStatic memberprogressPercentageMacro
Top
See Also