| 1 | using Core.Models.AppObserver; |
| 2 | using System; |
| 3 | using System.Collections.Generic; |
| 4 | using System.Linq; |
| 5 | using System.Text; |
| 6 | using System.Threading.Tasks; |
| 7 | |
| 8 | namespace Core.Event |
| 9 | { |
| 10 | ///<summary> |
| 11 | /// |
| 12 | ///</summary> |
| 13 | public class AppActiveChangedEventArgs |
| 14 | { |
| 15 | ///<summary> |
| 16 | /// |
| 17 | ///</summary> |
| 18 | public DateTime ActiveTime { get; } |
| 19 | ///<summary> |
| 20 | /// |
| 21 | ///</summary> |
| 22 | public AppInfo App { get; } |
| 23 | ///<summary> |
| 24 | /// |
| 25 | ///</summary> |
| 26 | public WindowInfo Window { get; } |
| 27 | public AppActiveChangedEventArgs(AppInfo app_, WindowInfo window_, DateTime activeTime_) |
| 28 | { |
| 29 | App = app_; |
| 30 | Window = window_; |
| 31 | ActiveTime = activeTime_; |
| 32 | } |
| 33 | } |
| 34 | } |