跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

浏览文件

AppObserverEventArgs.cs

28 行 · 849 B历史下载
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace Core.Models.AppObserver
8{
9 public class AppObserverEventArgs
10 {
11 private IntPtr _handle;
12 private string _processName;
13 private string _description;
14 private string _file;
15
16 public string ProcessName { get { return _processName; } }
17 public string Description { get { return _description; } }
18 public string File { get { return _file; } }
19 public IntPtr Handle { get { return _handle; } }
20 public AppObserverEventArgs(string processName, string description, string file, IntPtr handle)
21 {
22 _processName = processName;
23 _description = description;
24 _file = file;
25 _handle = handle;
26 }
27 }
28}