From 80894ffe0d78c4af066288be9d7b0bd260c283b3 Mon Sep 17 00:00:00 2001 From: "chris.watts90@outlook.com" Date: Mon, 26 Jun 2017 21:28:15 +0100 Subject: [PATCH] housekeeping --- RaceLapTimer/RaceLapTimer/ApiControllers/InfoApiModule.cs | 3 ++- .../RaceLapTimer/ApiControllers/MonitorApiModule.cs | 3 ++- .../RaceLapTimer/ApiControllers/PilotsApiModule.cs | 3 ++- RaceLapTimer/RaceLapTimer/ConfigFilePathProvider.cs | 8 +------- .../TransponderUtilities/TransponderUtilityManager.cs | 2 +- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/RaceLapTimer/RaceLapTimer/ApiControllers/InfoApiModule.cs b/RaceLapTimer/RaceLapTimer/ApiControllers/InfoApiModule.cs index 492d6eb..76b6449 100644 --- a/RaceLapTimer/RaceLapTimer/ApiControllers/InfoApiModule.cs +++ b/RaceLapTimer/RaceLapTimer/ApiControllers/InfoApiModule.cs @@ -1,4 +1,5 @@ -using Nancy; +using Interfaces; +using Nancy; namespace RaceLapTimer.ApiControllers { diff --git a/RaceLapTimer/RaceLapTimer/ApiControllers/MonitorApiModule.cs b/RaceLapTimer/RaceLapTimer/ApiControllers/MonitorApiModule.cs index 86cb39c..57d97e7 100644 --- a/RaceLapTimer/RaceLapTimer/ApiControllers/MonitorApiModule.cs +++ b/RaceLapTimer/RaceLapTimer/ApiControllers/MonitorApiModule.cs @@ -1,4 +1,5 @@ -using Nancy; +using Interfaces; +using Nancy; namespace RaceLapTimer.ApiControllers { diff --git a/RaceLapTimer/RaceLapTimer/ApiControllers/PilotsApiModule.cs b/RaceLapTimer/RaceLapTimer/ApiControllers/PilotsApiModule.cs index f42ef4e..8583586 100644 --- a/RaceLapTimer/RaceLapTimer/ApiControllers/PilotsApiModule.cs +++ b/RaceLapTimer/RaceLapTimer/ApiControllers/PilotsApiModule.cs @@ -1,4 +1,5 @@ -using Nancy; +using Interfaces; +using Nancy; namespace RaceLapTimer.ApiControllers { diff --git a/RaceLapTimer/RaceLapTimer/ConfigFilePathProvider.cs b/RaceLapTimer/RaceLapTimer/ConfigFilePathProvider.cs index 4005d55..498e5d0 100644 --- a/RaceLapTimer/RaceLapTimer/ConfigFilePathProvider.cs +++ b/RaceLapTimer/RaceLapTimer/ConfigFilePathProvider.cs @@ -7,12 +7,6 @@ namespace RaceLapTimer { class ConfigFilePathProvider : IConfigFilePathProvider { - public string GetPath - { - get - { - return new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), "Configs")).LocalPath; - } - } + public string GetPath => new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), "Configs")).LocalPath; } } diff --git a/RaceLapTimer/RaceLapTimer/Extensions/TransponderUtilities/TransponderUtilityManager.cs b/RaceLapTimer/RaceLapTimer/Extensions/TransponderUtilities/TransponderUtilityManager.cs index 6f8e6f9..0d126e4 100644 --- a/RaceLapTimer/RaceLapTimer/Extensions/TransponderUtilities/TransponderUtilityManager.cs +++ b/RaceLapTimer/RaceLapTimer/Extensions/TransponderUtilities/TransponderUtilityManager.cs @@ -6,7 +6,7 @@ using RaceLapTimer.Assists; namespace RaceLapTimer.Extensions.TransponderUtilities { - class TransponderUtilityManager:ITransponderUtilityManager + class TransponderUtilityManager : ITransponderUtilityManager { private List _providers; private readonly ILoggerService _logger;