Skip to content

Commit

Permalink
Removed unecessary class from Serval and reworked Machine code using it
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Dec 7, 2023
1 parent f7ea2e0 commit 05b5c7f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/SIL.Machine.AspNetCore/Services/ClearMLService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ClearMLService : IClearMLService
new()
{
PropertyNamingPolicy = JsonNamingPolicy,
Converters = { new CustomEnumConverterFactory(JsonNamingPolicy) }
Converters = { new JsonStringEnumConverter(JsonNamingPolicy) }
};

private readonly IClearMLAuthenticationService _clearMLAuthService;
Expand Down
27 changes: 14 additions & 13 deletions src/SIL.Machine.AspNetCore/Usings.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
global using System.Collections.Concurrent;
global using System.Diagnostics;
global using System.Diagnostics.CodeAnalysis;
global using System.IO.Compression;
global using System.Linq.Expressions;
global using System.Net;
global using System.Reflection;
global using System.Runtime.CompilerServices;
global using System.Security.Cryptography;
global using System.Text;
global using System.Text.Json;
global using System.Text.Json.Nodes;
global using System.Text.RegularExpressions;
global using Amazon;
global using Amazon.Runtime;
global using Amazon.S3;
Expand Down Expand Up @@ -52,3 +39,17 @@
global using SIL.ObjectModel;
global using SIL.Scripture;
global using SIL.WritingSystems;
global using System.Collections.Concurrent;
global using System.Diagnostics;
global using System.Diagnostics.CodeAnalysis;
global using System.IO.Compression;
global using System.Linq.Expressions;
global using System.Net;
global using System.Reflection;
global using System.Runtime.CompilerServices;
global using System.Security.Cryptography;
global using System.Text;
global using System.Text.Json;
global using System.Text.Json.Nodes;
global using System.Text.Json.Serialization;
global using System.Text.RegularExpressions;

0 comments on commit 05b5c7f

Please sign in to comment.