Skip to content

Commit 5dc1728

Browse files
committed
update
1 parent 6db74f6 commit 5dc1728

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/dotnet/web_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ grand_parent: My Docs
88

99
### Return all routes in the Web API.
1010

11-
``` csharp
11+
``` c#
1212
endpoints.MapGet("/api/debug/routes", (IEnumerable<EndpointDataSource> endpointSources) =>
1313
{
1414
var t = endpointSources.SelectMany(_ => _.Endpoints)

docs/dotnet_framework/net_standard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ grand_parent: My Docs
99
### How to add HealthChecks to .Net Framework
1010
---
1111

12-
``` csharp
12+
``` c#
1313
using Microsoft.Extensions.Diagnostics.HealthChecks;
1414
namespace Microsoft.Extensions.DependencyInjection
1515
{

docs/testing/moq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ grand_parent: My Docs
1111

1212
- We need to set the Controller Context for the controller under test. From that the HTTPContext is pulled.
1313

14-
```csharp
14+
```c#
1515
public static ControllerContext GetControllerContext(Controller controller)
1616
{
1717
var mockHttpContext = new Mock<HttpContextBase>();

0 commit comments

Comments
 (0)