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

Type Name Summary
.ctor
Timer(UInt32 delay, EventType eventType = Periodic)
Parameters:
  • delay - The delay.
  • eventType - (Optional) Type of the event.
Initializes a new instance of the Exomia.Native.Timers.Timer class.

Events

Type Name Summary
ElapsedEventHandler Elapsed Occurs when the interval elapses.

Methods

Type Name Summary
void
Dispose()
Parameter:
  • disposing - True to release both managed and unmanaged resources; false to
    release only unmanaged resources.
Releases the unmanaged resources used by the Exomia.Native.Timers.Timer and optionally releases the managed resources.
void Restart() Restart the current timer instance.
void Start() Start the current timer instance.
void Stop() Stop the current timer instance (if any)