|
44 | 44 | </Parameters>
|
45 | 45 | <Docs>
|
46 | 46 | <param name="hostingEnvironment">An instance of <see cref="T:Microsoft.Extensions.Hosting.IHostingEnvironment" />.</param>
|
47 |
| - <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Development" />.</summary> |
| 47 | + <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Development" />. This API should not be used in libraries, see remarks for details.</summary> |
48 | 48 | <returns>
|
49 | 49 | <see langword="true" /> if the environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Development" />; otherwise, <see langword="false" />.</returns>
|
50 |
| - <remarks>To be added.</remarks> |
| 50 | + <remarks> |
| 51 | + The environment names "Development", "Production" and "Staging" are provided as a utility for application developers. Library |
| 52 | + authors should avoid coupling specific behavior to these environment names. |
| 53 | + </remarks> |
51 | 54 | </Docs>
|
52 | 55 | </Member>
|
53 | 56 | <Member MemberName="IsEnvironment">
|
|
104 | 107 | </Parameters>
|
105 | 108 | <Docs>
|
106 | 109 | <param name="hostingEnvironment">An instance of <see cref="T:Microsoft.Extensions.Hosting.IHostingEnvironment" />.</param>
|
107 |
| - <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Production" />.</summary> |
| 110 | + <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Production" />. This API should not be used in libraries, see remarks for details.</summary> |
108 | 111 | <returns>
|
109 | 112 | <see langword="true" /> if the environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Production" />; otherwise, <see langword="false" />.</returns>
|
110 |
| - <remarks>To be added.</remarks> |
| 113 | + <remarks> |
| 114 | + The environment names "Development", "Production" and "Staging" are provided as a utility for application developers. Library |
| 115 | + authors should avoid coupling specific behavior to these environment names. |
| 116 | + </remarks> |
111 | 117 | </Docs>
|
112 | 118 | </Member>
|
113 | 119 | <Member MemberName="IsStaging">
|
|
133 | 139 | </Parameters>
|
134 | 140 | <Docs>
|
135 | 141 | <param name="hostingEnvironment">An instance of <see cref="T:Microsoft.Extensions.Hosting.IHostingEnvironment" />.</param>
|
136 |
| - <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Staging" />.</summary> |
| 142 | + <summary>Checks if the current hosting environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Staging" />. This API should not be used in libraries, see remarks for details.</summary> |
137 | 143 | <returns>
|
138 | 144 | <see langword="true" /> if the environment name is <see cref="F:Microsoft.Extensions.Hosting.EnvironmentName.Staging" />; otherwise, <see langword="false" />.</returns>
|
139 |
| - <remarks>To be added.</remarks> |
| 145 | + <remarks> |
| 146 | + The environment names "Development", "Production" and "Staging" are provided as a utility for application developers. Library |
| 147 | + authors should avoid coupling specific behavior to these environment names. |
| 148 | + </remarks> |
140 | 149 | </Docs>
|
141 | 150 | </Member>
|
142 | 151 | </Members>
|
|
0 commit comments