Fix namespaces

This commit is contained in:
Cj
2025-01-06 01:43:58 -05:00
parent eea0872aa7
commit f09cd50266
28 changed files with 56 additions and 55 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
using System.Text;
using System.Text.RegularExpressions;
using System.Security.Cryptography;
using Types.Annotations;
using Core.Annotations;
namespace Types.Utils;
namespace Core.Utils;
[Injectable(InjectionType.Singleton)]
public partial class HashUtil
+6 -5
View File
@@ -1,11 +1,12 @@
using Types.Annotations;
using Types.Models.Logging;
using ILogger = Types.Models.Utils.ILogger;
using Core.Models.Logging;
using Core.Annotations;
using ILogger = Core.Models.Utils.ILogger;
using Utils_ILogger = Core.Models.Utils.ILogger;
namespace Types.Utils.Logging;
namespace Core.Utils.Logging;
[Injectable(InjectionType.Singleton)]
public class SimpleTextLogger : ILogger
public class SimpleTextLogger : Utils_ILogger
{
// TODO: for now we simplify the logger into this barebones console writer
public void WriteToLogFile(string data)
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Types.Utils;
namespace Core.Utils;
public class RandomUtil
{
+2 -3
View File
@@ -1,6 +1,6 @@
using Types.Annotations;
using Core.Annotations;
namespace Types.Utils;
namespace Core.Utils;
[Injectable(InjectionType.Singleton)]
public class TimeUtil
@@ -171,7 +171,6 @@ public class TimeUtil
/// </summary>
/// <param name="number">The number to pad.</param>
/// <returns>The padded number as a string.</returns>
/// <exception cref="NotImplementedException"></exception>
private static string Pad(int number)
{
return number.ToString().PadLeft(2, '0');