Click or drag to resize

AsyncOperationT Class

Represents an asynchronous operation.
Inheritance Hierarchy
SystemObject
  HightlanderSolutions.MeshCheckerEditorExtension.AsyncAsyncOperationT

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.Async
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
public class AsyncOperation<T>

Type Parameters

T
The type of a result.

The AsyncOperationT type exposes the following members.

Constructors
  NameDescription
Public methodAsyncOperationT(Int32)
Initializes a new instance of the AsyncOperationT class.
Public methodAsyncOperationT(Int32, ActionT, AsyncOperationResultState)
Initializes a new instance of the AsyncOperationT class.
Top
Properties
  NameDescription
Public propertyAborted
Gets a value indicating whether the async operaton should be aborted.
Public propertyCurrentProgress
Gets a current progress of the async operation.
Public propertyIsEnded
Gets a value indicating whether the async operation are ended.
Public propertyProgress
Gets a progress state which value is between 0f and 1f, where 1f is «ended».
Public propertyResult
Gets the result of async operation.
Public propertyTargetProgress
Gets the progress limit.
Top
Methods
  NameDescription
Public methodAbort
Abort async operation
Public methodEnd
Ends asynchronous operation.
Public methodIncrementProgress
Increments the CurrentProgress counter. This operation is thread-safe.
Public methodSetTargetProgress
Sets a target progress of the async operation (target progress will be clamped [1, int.MaxValue])
Top
Events
  NameDescription
Public eventOperationEndedCallback
Occurs when the async operation ended.
Top
See Also