cleanup, notes

This commit is contained in:
Shannon
2021-01-07 22:05:23 +11:00
parent 8373e98eff
commit 5b5fe626bb
7 changed files with 39 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
using Umbraco.Core.Cache;
using Umbraco.Core.Cache;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web.Models.PublishedContent
@@ -14,10 +14,7 @@ namespace Umbraco.Web.Models.PublishedContent
/// <summary>
/// Initializes a new instance of the <see cref="HttpContextVariationContextAccessor"/> class.
/// </summary>
public HttpContextVariationContextAccessor(IRequestCache requestCache)
{
_requestCache = requestCache;
}
public HttpContextVariationContextAccessor(IRequestCache requestCache) => _requestCache = requestCache;
/// <inheritdoc />
public VariationContext VariationContext