Click or drag to resize

InhibitedAsyncOperationT Class

Represents the async operation wrapper, that updates manually from the main thread.
Inheritance Hierarchy
SystemObject
  HightlanderSolutions.MeshCheckerEditorExtension.AsyncInhibitedAsyncOperationT

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

Type Parameters

T
The type of a result.

The InhibitedAsyncOperationT type exposes the following members.

Constructors
  NameDescription
Public methodInhibitedAsyncOperationT
Initializes a new instance of the InhibitedAsyncOperationT class.
Top
Properties
  NameDescription
Public propertyIsEnded
Gets a value indicating whether the asynchronous operation ended.
Public propertyProgress
Gets the current progress. The value stays between 0f and 1f, where 1f = ended.
Public propertyResult
Gets the result of asynchronous operation.

The value modified from the main thread only.

Top
Methods
  NameDescription
Public methodAbort
Aborts the async operation.
Public methodUpdateFromMainThread
Updates inhibited async operation values from the main thread.
Top
Events
  NameDescription
Public eventOperationEndedCallback
Occurs when the async operation ends.
Public eventProgressChangedEvent
Occurs when the progress of async operation changed.
Top
See Also