remove unnecessary service and usings
This commit is contained in:
parent
f59f8d1937
commit
d9beb4b660
|
@ -1,10 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.Loader;
|
|
||||||
using Microsoft.AspNetCore.Hosting;
|
|
||||||
using Microsoft.AspNetCore.Identity;
|
using Microsoft.AspNetCore.Identity;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.Caching.Memory;
|
using Microsoft.Extensions.Caching.Memory;
|
||||||
|
@ -29,16 +26,14 @@ namespace Oqtane.Infrastructure
|
||||||
{
|
{
|
||||||
private readonly IConfigManager _config;
|
private readonly IConfigManager _config;
|
||||||
private readonly IServiceScopeFactory _serviceScopeFactory;
|
private readonly IServiceScopeFactory _serviceScopeFactory;
|
||||||
private readonly IWebHostEnvironment _environment;
|
|
||||||
private readonly IMemoryCache _cache;
|
private readonly IMemoryCache _cache;
|
||||||
private readonly IConfigManager _configManager;
|
private readonly IConfigManager _configManager;
|
||||||
private readonly ILogger<DatabaseManager> _filelogger;
|
private readonly ILogger<DatabaseManager> _filelogger;
|
||||||
|
|
||||||
public DatabaseManager(IConfigManager config, IServiceScopeFactory serviceScopeFactory, IWebHostEnvironment environment, IMemoryCache cache, IConfigManager configManager, ILogger<DatabaseManager> filelogger)
|
public DatabaseManager(IConfigManager config, IServiceScopeFactory serviceScopeFactory, IMemoryCache cache, IConfigManager configManager, ILogger<DatabaseManager> filelogger)
|
||||||
{
|
{
|
||||||
_config = config;
|
_config = config;
|
||||||
_serviceScopeFactory = serviceScopeFactory;
|
_serviceScopeFactory = serviceScopeFactory;
|
||||||
_environment = environment;
|
|
||||||
_cache = cache;
|
_cache = cache;
|
||||||
_configManager = configManager;
|
_configManager = configManager;
|
||||||
_filelogger = filelogger;
|
_filelogger = filelogger;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user