Click or drag to resize

AverageSubCalculationProgress Class

An implementation of ITrackCalculationProgress that averages the progress of a number of sub-calculations and reports the result to another ITrackCalculationProgress instance. The return value of ForSubCalculation(Double) should be passed to each sub-calculation.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.InfrastructureAverageSubCalculationProgress

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class AverageSubCalculationProgress

The AverageSubCalculationProgress type exposes the following members.

Constructors
  NameDescription
Public methodAverageSubCalculationProgress
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyCancellationPending
Gets a value indicating whether cancellation of the calculation is requested. If this returns true, the calculation will stop as soon as possible.
Public propertyLastProgress
Gets the last value of the overall progress, averaged over the sub-calculations.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForSubCalculation
Gets an ITrackCalculationProgress instance for a sub-calculation.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSubCalculationProgress
Gets the set of progress values, each representing the progress of a sub-calculation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also