Fortran DLL Wrapper
ProgressT Class |
Provides an IProgress{T} that invokes callbacks for each reported progress value.
Inheritance Hierarchy
Namespace: FortranWrapper
Assembly: FortranWrapper (in FortranWrapper.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public class Progress<T> : IProgress<T>
Public Class Progress(Of T) Implements IProgress(Of T)
generic<typename T> public ref class Progress : IProgress<T>
type Progress<'T> = class interface IProgress<'T> end
Type Parameters
- T
- Specifies the type of the progress report value.
The ProgressT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProgressT | Initializes the ProgressT. | |
ProgressT(ActionT) | Initializes the ProgressT with the specified callback. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnReport | Reports a progress change. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
Any handler provided to the constructor is invoked through a
SynchronizationContext instance captured
when the instance is constructed. If there is no current SynchronizationContext
at the time of construction, the callbacks will be invoked on the ThreadPool.
See Also