Removing unused usings, readonly fields where possible

This commit is contained in:
rockstardev
2020-06-28 22:07:48 -05:00
parent be5e0ea3fd
commit f88c02cccd
425 changed files with 255 additions and 1657 deletions

View File

@@ -1,21 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Hosting;
using NBitcoin;
using NBXplorer;
namespace BTCPayServer.Services
{
public class BTCPayServerEnvironment
{
IHttpContextAccessor httpContext;
TorServices torServices;
readonly IHttpContextAccessor httpContext;
readonly TorServices torServices;
public BTCPayServerEnvironment(IWebHostEnvironment env, BTCPayNetworkProvider provider, IHttpContextAccessor httpContext, TorServices torServices)
{
this.httpContext = httpContext;