Skip to content

Commit

Permalink
Enums moved to enums namspace
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltGajdacs committed Feb 15, 2021
1 parent 9c26775 commit 07b9280
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Enums/DataPrecision.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using System.ComponentModel;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace UsageWatcher
namespace UsageWatcher.Enums
{
[Serializable]
public enum DataPrecision
{
[Description("Data is kept for every usage, having a detailed record as per chosen resolution")]
Expand Down
2 changes: 1 addition & 1 deletion Enums/EnumExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;

namespace UsageWatcher
namespace UsageWatcher.Enums
{
/// <summary>
/// Taken from: https://stackoverflow.com/a/19621488
Expand Down
2 changes: 1 addition & 1 deletion Enums/Resolution.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;

namespace UsageWatcher
namespace UsageWatcher.Enums
{
[Serializable]
public enum Resolution
Expand Down
2 changes: 1 addition & 1 deletion Enums/SavePreference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace UsageWatcher
namespace UsageWatcher.Enums
{
[Serializable]
public enum SavePreference
Expand Down
1 change: 1 addition & 0 deletions Model/HighPrecisionUsageKeeper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using UsageWatcher.Enums;

namespace UsageWatcher.Model
{
Expand Down
1 change: 1 addition & 0 deletions Model/IUsageKeeper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using UsageWatcher.Enums;

namespace UsageWatcher.Model
{
Expand Down
1 change: 1 addition & 0 deletions Model/UsageModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using UsageWatcher.Enums;

namespace UsageWatcher.Model
{
Expand Down
1 change: 1 addition & 0 deletions Model/UsageTimer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Timers;
using UsageWatcher.Events;
using UsageWatcher.Enums;

namespace UsageWatcher.Model
{
Expand Down
1 change: 1 addition & 0 deletions Native/MouseDetector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Runtime.InteropServices;
using System.Timers;
using System.Windows;
using UsageWatcher.Enums;

namespace UsageWatcher.Native
{
Expand Down
2 changes: 1 addition & 1 deletion Service/ISaveService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using UsageWatcher.Enums;
using UsageWatcher.Model;

namespace UsageWatcher.Service
Expand Down
1 change: 1 addition & 0 deletions Service/SaveService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using UsageWatcher.Helpers;
using UsageWatcher.Model;
using UsageWatcher.Enums;

namespace UsageWatcher.Service
{
Expand Down
1 change: 1 addition & 0 deletions Storage/IStorage.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using UsageWatcher.Events;
using UsageWatcher.Model;
using UsageWatcher.Enums;

namespace UsageWatcher.Storage
{
Expand Down
1 change: 1 addition & 0 deletions Storage/UsageStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;
using UsageWatcher.Events;
using UsageWatcher.Model;
using UsageWatcher.Enums;

namespace UsageWatcher.Storage
{
Expand Down
1 change: 1 addition & 0 deletions UsageWatcherProbe/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Windows;
using UsageWatcher;
using UsageWatcher.Model;
using UsageWatcher.Enums;

namespace UsageWatcherProbe
{
Expand Down
1 change: 1 addition & 0 deletions Watcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using UsageWatcher.Model;
using UsageWatcher.Service;
using UsageWatcher.Storage;
using UsageWatcher.Enums;

namespace UsageWatcher
{
Expand Down

0 comments on commit 07b9280

Please sign in to comment.