UxrLoopController Class

A wrapper class to turn a cancelable action into a controllable Start()/ Stop() pattern and run it uninterruptedly in a loop.

Inheritance Hierarchy

System.Object
  UltimateXR.Core.Threading.TaskControllers.UxrCancellableController
    UltimateXR.Core.Threading.TaskControllers.UxrLoopController
Namespace: UltimateXR.Core.Threading.TaskControllers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public sealed class UxrLoopController : UxrCancellableController


The UxrLoopController type exposes the following members.

Constructors

NameDescription
Public methodUxrLoopController Constructor.

Operators

NameDescription
Public operatorStatic memberExplicit(Action(CancellationToken) to UxrLoopController) Explicit conversion operator from Action<T> to UxrLoopController.

Extension Methods

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Core.Threading.TaskControllers Namespace