GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.Enums.WaitTime Struct Reference

WaitTime is a struct that acts like an int but also an enum for some intellisense help Users may use the enum like values: Forever, Never, Immediate or enter any arbitrary integer. More...

Public Member Functions

override string ToString ()

Static Public Member Functions

static implicit operator WaitTime (int ms)
static implicit operator int (WaitTime wt)

Static Public Attributes

static readonly WaitTime Forever = new WaitTime(-1)
static readonly WaitTime Never = new WaitTime(-2)
static readonly WaitTime Immediate = new WaitTime(0)

Detailed Description

WaitTime is a struct that acts like an int but also an enum for some intellisense help Users may use the enum like values: Forever, Never, Immediate or enter any arbitrary integer.

Definition at line 234 of file Enums.cs.

Member Function Documentation

◆ operator int()

implicit GenerallyPositive.Enums.WaitTime.operator int ( WaitTime wt)
static

Definition at line 247 of file Enums.cs.

◆ operator WaitTime()

implicit GenerallyPositive.Enums.WaitTime.operator WaitTime ( int ms)
static

Definition at line 244 of file Enums.cs.

◆ ToString()

override string GenerallyPositive.Enums.WaitTime.ToString ( )

Definition at line 250 of file Enums.cs.

Member Data Documentation

◆ Forever

readonly WaitTime GenerallyPositive.Enums.WaitTime.Forever = new WaitTime(-1)
static

Definition at line 238 of file Enums.cs.

◆ Immediate

readonly WaitTime GenerallyPositive.Enums.WaitTime.Immediate = new WaitTime(0)
static

Definition at line 240 of file Enums.cs.

◆ Never

readonly WaitTime GenerallyPositive.Enums.WaitTime.Never = new WaitTime(-2)
static

Definition at line 239 of file Enums.cs.


The documentation for this struct was generated from the following file: