Table of Contents

Class ActivitySpinnerSpec

Namespace
ItTiger.TigerCli.Tui.Activity
Assembly
ItTiger.TigerCli.dll
Configures the spinner an activity dialog shows on its top frame. Pick one of three modes: Default (the framework's default Default and interval), FromFrameSet(SpinnerFrameSet, TimeSpan?) (a predefined frame set with an optional interval), or FromTicker(TuiTicker) (a caller-created TuiTicker). The spec owns only the choice of ticker; it knows nothing about overlays, titles, or markup — frames stay raw and the dialog's overlay decides presentation.
public sealed class ActivitySpinnerSpec
Inheritance
ActivitySpinnerSpec
Inherited Members

Properties

Default

The framework default: Default at the default interval.
public static ActivitySpinnerSpec Default { get; }

Property Value

ActivitySpinnerSpec

Methods

FromFrameSet(SpinnerFrameSet, TimeSpan?)

A predefined frameSet with an optional interval.
public static ActivitySpinnerSpec FromFrameSet(SpinnerFrameSet frameSet, TimeSpan? interval = null)

Parameters

frameSet SpinnerFrameSet
interval TimeSpan?

Returns

ActivitySpinnerSpec

FromTicker(TuiTicker)

A caller-created ticker; the caller owns its frames and timing.
public static ActivitySpinnerSpec FromTicker(TuiTicker ticker)

Parameters

ticker TuiTicker

Returns

ActivitySpinnerSpec