Update @HostEnvironment to @Env (#32256)

pull/32244/head
Burke Holland 2024-04-04 10:51:09 -05:00 committed by GitHub
parent 08932fde98
commit 5ac3be65a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ Obtain the app's environment in a component by injecting <xref:Microsoft.AspNetC
<h1>Environment example</h1>
<p>Environment: @HostEnvironment.Environment</p>
<p>Environment: @Env.Environment</p>
```
:::moniker range=">= aspnetcore-8.0"