Skip to content

Commit

Permalink
Changed name to match ASP.NEt Core HttpContext Response property
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Akgerman committed Jun 10, 2022
1 parent c93f694 commit 99b7342
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
namespace NLog.Web.LayoutRenderers
{
/// <summary>
/// ASP.NET response headers already sent
/// ASP.NET response headers already sent, in other words the response has started
/// </summary>
/// <remarks>
/// ${aspnet-response-headers-written}
/// ${aspnet-response-has-started}
/// </remarks>
[LayoutRenderer("aspnet-response-headers-written")]
public class AspNetResponseHeadersWrittenLayoutRenderer : AspNetLayoutRendererBase
[LayoutRenderer("aspnet-response-has-started")]
public class AspNetResponseHasStartedLayoutRenderer : AspNetLayoutRendererBase
{
/// <summary>
/// Renders the ASP.NET HttpResponse HasStarted property in ASP.NET Core and the HttpResponse HeadersWritten in .NET Framework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetResponseHeadersWrittenLayoutRendererTests : LayoutRenderersTestBase<AspNetResponseHeadersWrittenLayoutRenderer>
public class AspNetResponseHasStartedLayoutRendererTests : LayoutRenderersTestBase<AspNetResponseHasStartedLayoutRenderer>
{
#if !ASP_NET_CORE && NET46_OR_GREATER
[Fact]
Expand Down

0 comments on commit 99b7342

Please sign in to comment.