naming
This commit is contained in:
@ -23,14 +23,14 @@ namespace isnd.Controllers
|
||||
public partial class PackagesController : Controller
|
||||
{
|
||||
const int maxTake = 100;
|
||||
private readonly Resource[] _resources;
|
||||
private readonly ILogger<PackagesController> _logger;
|
||||
private readonly IDataProtector _protector;
|
||||
private readonly Resource[] resources;
|
||||
private readonly ILogger<PackagesController> logger;
|
||||
private readonly IDataProtector protector;
|
||||
|
||||
private readonly IsndSettings _isndSettings;
|
||||
readonly ApplicationDbContext _dbContext;
|
||||
private readonly IPackageManager _packageManager;
|
||||
private readonly IUnleash _unleashĈlient;
|
||||
private readonly IsndSettings isndSettings;
|
||||
readonly ApplicationDbContext dbContext;
|
||||
private readonly IPackageManager packageManager;
|
||||
private readonly IUnleash unleashĈlient;
|
||||
const string _pkgRootPrefix = "~/";
|
||||
|
||||
public PackagesController(
|
||||
@ -41,13 +41,13 @@ namespace isnd.Controllers
|
||||
ApplicationDbContext dbContext,
|
||||
IPackageManager pm)
|
||||
{
|
||||
_logger = loggerFactory.CreateLogger<PackagesController>();
|
||||
_isndSettings = isndOptions.Value;
|
||||
_protector = provider.CreateProtector(_isndSettings.ProtectionTitle);
|
||||
_dbContext = dbContext;
|
||||
_packageManager = pm;
|
||||
_unleashĈlient = unleashĈlient;
|
||||
_resources = _packageManager.GetResources(_unleashĈlient).ToArray();
|
||||
logger = loggerFactory.CreateLogger<PackagesController>();
|
||||
isndSettings = isndOptions.Value;
|
||||
protector = provider.CreateProtector(isndSettings.ProtectionTitle);
|
||||
this.dbContext = dbContext;
|
||||
packageManager = pm;
|
||||
this.unleashĈlient = unleashĈlient;
|
||||
resources = packageManager.GetResources(unleashĈlient).ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user