From 8fa4c04367965147393952e926938d5cc17fef53 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 18 Apr 2022 20:58:14 +0100 Subject: [PATCH] naming --- src/isnd/Controllers/Packages/Ctor.cs | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/isnd/Controllers/Packages/Ctor.cs b/src/isnd/Controllers/Packages/Ctor.cs index bbfbf01..3c6a9a5 100644 --- a/src/isnd/Controllers/Packages/Ctor.cs +++ b/src/isnd/Controllers/Packages/Ctor.cs @@ -23,14 +23,14 @@ namespace isnd.Controllers public partial class PackagesController : Controller { const int maxTake = 100; - private readonly Resource[] _resources; - private readonly ILogger _logger; - private readonly IDataProtector _protector; + private readonly Resource[] resources; + private readonly ILogger 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(); - _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(); + isndSettings = isndOptions.Value; + protector = provider.CreateProtector(isndSettings.ProtectionTitle); + this.dbContext = dbContext; + packageManager = pm; + this.unleashĈlient = unleashĈlient; + resources = packageManager.GetResources(unleashĈlient).ToArray(); } } }