parent
7c8d0f89f8
commit
ed5a43d5ad
|
|
@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is CONNECT; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsConnect(string method)
|
||||
{
|
||||
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is DELETE; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsDelete(string method)
|
||||
{
|
||||
|
|
@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is GET; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsGet(string method)
|
||||
{
|
||||
|
|
@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is HEAD; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsHead(string method)
|
||||
{
|
||||
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is OPTIONS; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsOptions(string method)
|
||||
{
|
||||
|
|
@ -93,7 +93,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is PATCH; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsPatch(string method)
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is POST; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsPost(string method)
|
||||
{
|
||||
|
|
@ -117,7 +117,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is PUT; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsPut(string method)
|
||||
{
|
||||
|
|
@ -129,7 +129,7 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary/>
|
||||
/// <param name="method">The HTTP request method.</param>
|
||||
/// <returns>
|
||||
/// The System.Boolean.
|
||||
/// <see langword="true" /> if the method is TRACE; otherwise, <see langword="false" />.
|
||||
/// </returns>
|
||||
public static bool IsTrace(string method)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -89,16 +89,16 @@ namespace Microsoft.AspNetCore.Http
|
|||
/// <summary>
|
||||
/// Gets or set the <see cref="FormOptions" /> for this instance.
|
||||
/// <summary/>
|
||||
/// <returns>
|
||||
/// The Microsoft.AspNetCore.Http.Features.FormOptions.
|
||||
/// <returns>
|
||||
/// <see cref="FormOptions"/>
|
||||
/// </returns>
|
||||
public FormOptions FormOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the <see cref="IServiceScopeFactory" /> for this instance.
|
||||
/// <summary/>
|
||||
/// <returns>
|
||||
/// The Microsoft.Extensions.DependencyInjection.IServiceScopeFactory.
|
||||
/// <returns>
|
||||
/// <see cref="IServiceScopeFactory"/>
|
||||
/// </returns>
|
||||
public IServiceScopeFactory ServiceScopeFactory { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Hosting
|
|||
/// The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
|
||||
/// A reference to the <see cref="IWebHostBuilder" /> parameter object.</param>
|
||||
/// </returns>
|
||||
public static IWebHostBuilder UseHttpSys(this IWebHostBuilder hostBuilder)
|
||||
{
|
||||
|
|
@ -50,7 +50,7 @@ namespace Microsoft.AspNetCore.Hosting
|
|||
/// A callback to configure Http.sys options.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
|
||||
/// A reference to the <see cref="IWebHostBuilder" /> parameter object.</param>
|
||||
/// </returns>
|
||||
public static IWebHostBuilder UseHttpSys(this IWebHostBuilder hostBuilder, Action<HttpSysOptions> options)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue