Skip to content

Commit

Permalink
Move ClientLogFileEventArgs into its own file.
Browse files Browse the repository at this point in the history
  • Loading branch information
thailyn committed Jun 22, 2019
1 parent 2e4a323 commit 673c911
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
1 change: 1 addition & 0 deletions Procurement/Procurement.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
<Compile Include="Controls\FragmentStashTab.xaml.cs">
<DependentUpon>FragmentStashTab.xaml</DependentUpon>
</Compile>
<Compile Include="Utility\ClientLogFileEventArgs.cs" />
<Compile Include="Utility\ClientLogFileWatcher.cs" />
<Compile Include="ViewModel\Filters\ForumExport\FossilFilter.cs" />
<Compile Include="ViewModel\Filters\ForumExport\FracturedItemFilter.cs" />
Expand Down
18 changes: 18 additions & 0 deletions Procurement/Utility/ClientLogFileEventArgs.cs
Original file line number Diff line number Diff line change
@@ -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;
}
}
}
17 changes: 0 additions & 17 deletions Procurement/Utility/ClientLogFileWatcher.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 673c911

Please sign in to comment.