Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Exomia.Native.Timers

Daniel Baetz edited this page Jun 21, 2019 · 17 revisions

Timer

A timer. This class cannot be inherited.

public class Exomia.Native.Timers.Timer
    : IDisposable

Constructors

`.ctor` Timer(`UInt32` delay, `EventType` eventType = Periodic)
Summary:

Initializes a new instance of the [Exomia.Native.Timers.Timer](Exomia.Native.Timers#timer) class.

Parameter:
  • `delay` - The delay.
  • `eventType` - (Optional) Type of the event.


Events

`ElapsedEventHandler` Elapsed
Summary:

Occurs when the interval elapses.



Methods

    void Dispose()

`void` Restart()
Summary:

Restart the current timer instance.


`void` Start()
Summary:

Start the current timer instance.


`void` Stop()
Summary:

Stop the current timer instance (if any)