diff --git a/Procurement/Procurement.csproj b/Procurement/Procurement.csproj index b093f43a..bf3fb76c 100644 --- a/Procurement/Procurement.csproj +++ b/Procurement/Procurement.csproj @@ -109,6 +109,7 @@ FragmentStashTab.xaml + diff --git a/Procurement/Utility/ClientLogFileEventArgs.cs b/Procurement/Utility/ClientLogFileEventArgs.cs new file mode 100644 index 00000000..874f7dec --- /dev/null +++ b/Procurement/Utility/ClientLogFileEventArgs.cs @@ -0,0 +1,18 @@ +using System; + +namespace Procurement.Utility +{ + public class ClientLogFileEventArgs : EventArgs + { + public DateTime EventDateTime { get; private set; } + public long EventTimestamp { get; private set; } + public string LocationEntered { get; private set; } + + public ClientLogFileEventArgs(DateTime eventDateTime, long eventTimestamp, string locationEntered) + { + EventDateTime = eventDateTime; + EventTimestamp = eventTimestamp; + LocationEntered = locationEntered; + } + } +} diff --git a/Procurement/Utility/ClientLogFileWatcher.cs b/Procurement/Utility/ClientLogFileWatcher.cs index b739fed9..85eedcde 100644 --- a/Procurement/Utility/ClientLogFileWatcher.cs +++ b/Procurement/Utility/ClientLogFileWatcher.cs @@ -1,29 +1,12 @@ using POEApi.Infrastructure; using POEApi.Model; using System; -using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; namespace Procurement.Utility { - public class ClientLogFileEventArgs : EventArgs - { - public DateTime EventDateTime { get; private set; } - public long EventTimestamp { get; private set; } - public string LocationEntered { get; private set; } - - public ClientLogFileEventArgs(DateTime eventDateTime, long eventTimestamp, string locationEntered) - { - EventDateTime = eventDateTime; - EventTimestamp = eventTimestamp; - LocationEntered = locationEntered; - } - } - class ClientLogFileWatcher { private static ClientLogFileWatcher _instance;