UtilConsoleSpinCursor Method
Animates the console cursor producing a spin effect.
Namespace: DevCase.Core.Application.ConsoleAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SpinCursor(
int repeat,
int speed = 100
)
public:
static void SpinCursor(
int repeat,
int speed = 100
)
static member SpinCursor :
repeat : int *
?speed : int
(* Defaults:
let _speed = defaultArg speed 100
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- repeat Int32
-
The amount of times to repeat the spin animation.
Maximum allowed value is: 536870911 (Integer.MaxValue \ 4)
- speed Int32 (Optional)
-
The timeout, in milliseconds, between each movement of the animation. The spin animation has 4 movements.
Default value is 100.
This is a code example.
No code example is currently available or this language may not be supported.
Console.Write("Loading...")
SpinCursor(repeat:=10)
Console.Write(" Finished.")
Console.ReadKey()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.