You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/Microsoft.Extensions.Hosting/HostingEnvironmentExtensions.xml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,10 +78,13 @@
78
78
<Docs>
79
79
<paramname="hostingEnvironment">An instance of <seecref="T:Microsoft.Extensions.Hosting.IHostingEnvironment" />.</param>
80
80
<paramname="environmentName">Environment name to validate against.</param>
81
-
<summary>Compares the current hosting environment name against the specified value.</summary>
81
+
<summary>Compares the current hosting environment name against the specified value. Library authors should avoid using this API, see remarks for details.</summary>
82
82
<returns>
83
83
<seelangword="true" /> if the specified name is the same as the current environment; otherwise, <seelangword="false" />.</returns>
84
-
<remarks>To be added.</remarks>
84
+
<remarks>
85
+
Environment names are generally specific to an application. Libraries designed for use in many different applications
86
+
should avoid coupling behavior to specific environment names.
0 commit comments