Move more to global using
This commit is contained in:
parent
9bde113558
commit
01cae7bc8b
@ -1,6 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
namespace TaikoLocalServer.Context
|
||||||
|
|
||||||
namespace TaikoLocalServer.Context
|
|
||||||
{
|
{
|
||||||
public partial class TaikoDbContext : DbContext
|
public partial class TaikoDbContext : DbContext
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
namespace TaikoLocalServer.Context;
|
||||||
|
|
||||||
namespace TaikoLocalServer.Context;
|
|
||||||
|
|
||||||
public partial class TaikoDbContext
|
public partial class TaikoDbContext
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
|
|
||||||
namespace TaikoLocalServer.Controllers;
|
namespace TaikoLocalServer.Controllers;
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using Swan.Mapping;
|
namespace TaikoLocalServer.Controllers;
|
||||||
|
|
||||||
namespace TaikoLocalServer.Controllers;
|
|
||||||
|
|
||||||
[Route("/v12r03/chassis/getdanodai.php")]
|
[Route("/v12r03/chassis/getdanodai.php")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
namespace TaikoLocalServer.Controllers;
|
||||||
using Swan.Mapping;
|
|
||||||
|
|
||||||
namespace TaikoLocalServer.Controllers;
|
|
||||||
|
|
||||||
[Route("/v12r03/chassis/getdanscore.php")]
|
[Route("/v12r03/chassis/getdanscore.php")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using ProtoBuf;
|
|
||||||
|
|
||||||
namespace TaikoLocalServer.Controllers;
|
namespace TaikoLocalServer.Controllers;
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// Global using directives
|
// Global using directives
|
||||||
global using Microsoft.AspNetCore.Mvc;
|
global using Microsoft.AspNetCore.Mvc;
|
||||||
|
global using Microsoft.EntityFrameworkCore;
|
||||||
|
global using ProtoBuf;
|
||||||
global using Swan.Formatters;
|
global using Swan.Formatters;
|
||||||
global using taiko.game;
|
global using taiko.game;
|
||||||
global using TaikoLocalServer.Common;
|
global using TaikoLocalServer.Common;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
using System.Security.Authentication;
|
using System.Security.Authentication;
|
||||||
using Microsoft.AspNetCore.HttpLogging;
|
using Microsoft.AspNetCore.HttpLogging;
|
||||||
using Microsoft.AspNetCore.HttpOverrides;
|
using Microsoft.AspNetCore.HttpOverrides;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using TaikoLocalServer.Middlewares;
|
using TaikoLocalServer.Middlewares;
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user