Extract more to global using
This commit is contained in:
parent
2c21080e99
commit
095ee0a41e
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
|
||||
namespace TaikoLocalServer.Common;
|
||||
namespace TaikoLocalServer.Common;
|
||||
|
||||
public static class FlagCalculator
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Entities;
|
||||
|
||||
namespace TaikoLocalServer.Context
|
||||
{
|
||||
|
@ -1,9 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Entities;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -1,9 +1,4 @@
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/crownsdata.php")]
|
||||
[ApiController]
|
||||
|
@ -1,9 +1,4 @@
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/getscorerank.php")]
|
||||
[ApiController]
|
||||
|
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/gettelop.php")]
|
||||
[ApiController]
|
||||
|
@ -1,6 +1,4 @@
|
||||
using System.Collections;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
using TaikoLocalServer.Models;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
public class MuchaController : ControllerBase
|
||||
{
|
||||
|
@ -1,8 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Entities;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/mydonentry.php")]
|
||||
[ApiController]
|
||||
|
@ -1,11 +1,6 @@
|
||||
using System.Globalization;
|
||||
using System.Text.Json;
|
||||
using ProtoBuf;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Entities;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
using TaikoLocalServer.Models;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("/sys/servlet/PowerOn")]
|
||||
|
@ -1,9 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Entities;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/selfbest.php")]
|
||||
[ApiController]
|
||||
|
@ -1,7 +1,4 @@
|
||||
using System.Collections;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
|
||||
namespace TaikoLocalServer.Entities
|
||||
namespace TaikoLocalServer.Entities
|
||||
{
|
||||
public partial class SongBestDatum
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
|
||||
namespace TaikoLocalServer.Entities;
|
||||
namespace TaikoLocalServer.Entities;
|
||||
|
||||
public partial class SongBestDatum
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
|
||||
namespace TaikoLocalServer.Entities
|
||||
namespace TaikoLocalServer.Entities
|
||||
{
|
||||
public partial class SongPlayDatum
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using TaikoLocalServer.Common.Enums;
|
||||
|
||||
namespace TaikoLocalServer.Entities
|
||||
namespace TaikoLocalServer.Entities
|
||||
{
|
||||
public partial class UserDatum
|
||||
{
|
||||
|
@ -6,4 +6,5 @@ global using TaikoLocalServer.Common;
|
||||
global using TaikoLocalServer.Common.Enums;
|
||||
global using TaikoLocalServer.Context;
|
||||
global using TaikoLocalServer.Entities;
|
||||
global using TaikoLocalServer.Models;
|
||||
global using TaikoLocalServer.Utils;
|
@ -2,8 +2,6 @@ using System.Security.Authentication;
|
||||
using Microsoft.AspNetCore.HttpLogging;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using TaikoLocalServer.Common;
|
||||
using TaikoLocalServer.Context;
|
||||
using TaikoLocalServer.Middlewares;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using TaikoLocalServer.Models;
|
||||
|
||||
namespace TaikoLocalServer.Utils;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user