We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
1 parent 05bf1f5 commit 9dfa361Copy full SHA for 9dfa361
text-counter-razor/Pages/Error.cshtml.cs
@@ -10,18 +10,18 @@ public class ErrorModel : PageModel
10
{
11
public string? RequestId { get; set; }
12
13
- public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
+ public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId);
14
15
private readonly ILogger<ErrorModel> _logger;
16
17
public ErrorModel(ILogger<ErrorModel> logger)
18
19
- _logger = logger;
+ this._logger = logger;
20
}
21
22
public void OnGet()
23
24
- RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
+ this.RequestId = Activity.Current?.Id ?? this.HttpContext.TraceIdentifier;
25
26
27
0 commit comments