Skip to content

Commit 2050c77

Browse files
committed
renamed folder Controller to Service, Service to Interfaces
1 parent c935e80 commit 2050c77

15 files changed

+24
-23
lines changed

CustomCommands/CustomCommandsServiceCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
using CounterStrikeSharp.API.Core;
3-
using CustomCommands.Controller;
43
using CustomCommands.Services;
4+
using CustomCommands.Interfaces;
55
using Microsoft.Extensions.DependencyInjection;
66

77
namespace CustomCommands;

CustomCommands/Services/IEventManager.cs renamed to CustomCommands/Interfaces/IEventManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CounterStrikeSharp.API.Core;
22

3-
namespace CustomCommands.Services;
3+
namespace CustomCommands.Interfaces;
44

55
public interface IEventManager
66
{

CustomCommands/Services/ILoadJson.cs renamed to CustomCommands/Interfaces/ILoadJson.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CustomCommands.Model;
22

3-
namespace CustomCommands.Services;
3+
namespace CustomCommands.Interfaces;
44

55
public interface ILoadJson
66
{

CustomCommands/Services/IMessageManager.cs renamed to CustomCommands/Interfaces/IMessageManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using CounterStrikeSharp.API.Core;
22
using CustomCommands.Model;
33

4-
namespace CustomCommands.Services;
4+
namespace CustomCommands.Interfaces;
55

66
public interface IMessageManager
77
{

CustomCommands/Services/IPermissionsManager.cs renamed to CustomCommands/Interfaces/IPermissionsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using CounterStrikeSharp.API.Core;
22
using CustomCommands.Model;
33

4-
namespace CustomCommands.Services;
4+
namespace CustomCommands.Interfaces;
55

66
public interface IPermissionsManager
77
{

CustomCommands/Services/IPluginGlobals.cs renamed to CustomCommands/Interfaces/IPluginGlobals.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using CounterStrikeSharp.API.Core;
22
using CustomCommands.Model;
33

4-
namespace CustomCommands.Services;
4+
namespace CustomCommands.Interfaces;
55
public interface IPluginGlobals
66
{
77
List<CenterClientElement> centerClientOn { get; set; }

CustomCommands/Services/IRegisterCommands.cs renamed to CustomCommands/Interfaces/IRegisterCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CustomCommands.Model;
22

3-
namespace CustomCommands.Services;
3+
namespace CustomCommands.Interfaces;
44

55
public interface IRegisterCommands
66
{

CustomCommands/Services/IReplaceTagsFunctions.cs renamed to CustomCommands/Interfaces/IReplaceTagsFunctions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CounterStrikeSharp.API.Core;
22

3-
namespace CustomCommands.Services;
3+
namespace CustomCommands.Interfaces;
44

55
public interface IReplaceTagsFunctions
66
{

CustomCommands/Controller/EventManager.cs renamed to CustomCommands/Services/EventManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
using CounterStrikeSharp.API.Core;
44
using CounterStrikeSharp.API.Core.Attributes.Registration;
55
using CounterStrikeSharp.API.Core.Plugin;
6-
using CustomCommands.Services;
6+
using CustomCommands.Interfaces;
7+
8+
namespace CustomCommands.Services;
79

8-
namespace CustomCommands.Controller;
910
public class EventManager : IEventManager
1011
{
1112
private readonly IPluginGlobals PluginGlobals;
@@ -44,7 +45,6 @@ public void RegisterListeners()
4445
}
4546
}
4647

47-
4848
// Server Print To Center
4949
if (PluginGlobals.centerServerOn.IsRunning)
5050
{

CustomCommands/Controller/LoadJson.cs renamed to CustomCommands/Services/LoadJson.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
using System.Text.Json;
2+
using CustomCommands.Interfaces;
23
using CustomCommands.Model;
3-
using CustomCommands.Services;
44
using Microsoft.Extensions.Logging;
55

6-
namespace CustomCommands.Controller;
6+
namespace CustomCommands.Services;
77

88
public class LoadJson : ILoadJson
99
{
1010
private readonly ILogger<CustomCommands> Logger;
11+
1112
public LoadJson(ILogger<CustomCommands> Logger)
1213
{
1314
this.Logger = Logger;

0 commit comments

Comments
 (0)