AsyncProgressT Structure

Represents the progress of an operation that can be reported by an IAsyncProgress implementation.

Definition

Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public readonly struct AsyncProgress<T> : IEquatable<AsyncProgress<T>>
Inheritance
Object    ValueType    AsyncProgressT
Implements
IEquatableAsyncProgressT

Type Parameters

T
The type of the descriptor of the operation returned by the OperationType property.

Constructors

AsyncProgressT Initializes a new instance of the AsyncProgressT struct.

Properties

CurrentValue Gets the current step of this operation. Its value is between zero and MaximumValue, inclusive bounds.
MaximumValue Gets the maximum steps of this operation.
OperationType Gets information about the current operation in progress.

Methods

Equals(AsyncProgressT) Indicates whether the this AsyncProgressT is equal to another one.
Equals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object))
GetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)

Operators

Equality(AsyncProgressT, AsyncProgressT) Gets whether two AsyncProgressT structures are equal.
Inequality(AsyncProgressT, AsyncProgressT) Gets whether two AsyncProgressT structures are different.

Extension Methods

Convert Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example.
(Defined by ObjectExtensions)
ConvertTTarget Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions)
In Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)

See Also