namespace RGB.NET.Core { #region EventHandler /// /// Represents the event-handler of the -event. /// /// The sender of the event. /// The arguments provided by the event. public delegate void ExceptionEventHandler(object sender, ExceptionEventArgs args); /// /// Represents the event-handler of the -event. /// /// The sender of the event. /// The arguments provided by the event. public delegate void UpdatingEventHandler(object sender, UpdatingEventArgs args); /// /// Represents the event-handler of the -event. /// /// The sender of the event. /// The arguments provided by the event. public delegate void UpdatedEventHandler(object sender, UpdatedEventArgs args); /// /// Represents the event-handler of the -event. /// /// The sender of the event. /// The arguments provided by the event. public delegate void LedsUpdatingEventHandler(object sender, LedsUpdatingEventArgs args); /// /// Represents the event-handler of the -event. /// /// The sender of the event. /// The arguments provided by the event. public delegate void LedsUpdatedEventHandler(object sender, LedsUpdatedEventArgs args); #endregion /// /// Represents a generic RGB-surface. /// public interface IRGBSurface { #region Events // ReSharper disable EventNeverSubscribedTo.Global /// /// Occurs when a catched exception is thrown inside the . /// event ExceptionEventHandler Exception; /// /// Occurs when the starts updating. /// event UpdatingEventHandler Updating; /// /// Occurs when the update is done. /// event UpdatedEventHandler Updated; /// /// Occurs when the starts to update the leds. /// event LedsUpdatingEventHandler LedsUpdating; /// /// Occurs when the updated the leds. /// event LedsUpdatedEventHandler LedsUpdated; // ReSharper restore EventNeverSubscribedTo.Global #endregion } }