// This code is distributed under MIT license. // Copyright (c) 2015 George Mamaladze // See license.txt or http://opensource.org/licenses/mit-license.php using System; namespace xClient.Core.MouseKeyHook.HotKeys { /// /// The event arguments passed when a HotKeySet's OnHotKeysDownHold event is triggered. /// public sealed class HotKeyArgs : EventArgs { private readonly DateTime m_TimeOfExecution; /// /// Creates an instance of the HotKeyArgs. /// Time when the event was triggered /// public HotKeyArgs(DateTime triggeredAt) { m_TimeOfExecution = triggeredAt; } /// /// Time when the event was triggered /// public DateTime Time { get { return m_TimeOfExecution; } } } }