Process Monitor - Switched to Processes instead of strings

This commit is contained in:
Diogo Trindade committed 2021-03-10 16:04:25 +00:00
1 parent fb51e75b94
commit d4a0b0710c
4 files changed
+32 -14

No files matched your search

@@ -1,14 +1,15 @@
using System;
using System.Diagnostics;
namespace Artemis.Core.Services
{
public class ProcessEventArgs : EventArgs
{
public string ProcessName { get; }
public Process Process { get; }
public ProcessEventArgs(string name)
public ProcessEventArgs(Process process)
{
ProcessName = name;
Process = process;
}
}
}