TestOperation

Description

sealed class Tinman.AddOns.Application.TestOperation

Derived from

Operation abstract

Full source code is included in the Tinman 3D SDK download.

A background operation that emits a given number of ticks over a specified time interval, while doing nothing else.

Public / Constructors

Test​Operation


public constructor TestOperation → (4)

ticks opt : int32 = 20

[>0]
Total number of progress ticks.

sleep opt : int32 = 50

[>0]
Number of milliseconds to sleep before each tick.

fail opt : bool = false

Operation will fail?

name opt : string = null

Name of the operation. If null, 'Test' will be used.

Creates a new instance of TestOperation.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IOperation>

[not-null]
The configurator object.

The configurator object for this type.