namespace MtApi.Monitors.Triggers
{
///
/// Interface for triggers which can be used to trigger a .
///
public interface IMonitorTrigger
{
///
/// Event will be called if the trigger raised.
///
event EventHandler Raised;
///
/// Returns whether the trigger is started
///
bool IsStarted { get; }
///
/// Stops the trigger and prevents further calls of the event.
///
void Stop();
///
/// Starts the trigger.
///
void Start();
}
}