You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4668 lines
342 KiB
4668 lines
342 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>System.Web.Http</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.Exception)">
|
|
<summary>创建用于表示异常的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>此请求必须与 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例相关联。<see cref="T:System.Net.Http.HttpResponseMessage" />,其内容是 <see cref="T:System.Web.Http.HttpError" /> 实例的序列化表示形式。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.String)">
|
|
<summary>创建用于表示错误消息的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>此请求必须与 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例相关联。<see cref="T:System.Net.Http.HttpResponseMessage" />,其内容是 <see cref="T:System.Web.Http.HttpError" /> 实例的序列化表示形式。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
<param name="message">错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.String,System.Exception)">
|
|
<summary>创建使用错误消息表示异常的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>此请求必须与 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例相关联。<see cref="T:System.Net.Http.HttpResponseMessage" />,其内容是 <see cref="T:System.Web.Http.HttpError" /> 实例的序列化表示形式。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
<param name="message">错误消息。</param>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.Web.Http.HttpError)">
|
|
<summary>创建用于表示错误的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>此请求必须与 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例相关联。<see cref="T:System.Net.Http.HttpResponseMessage" />,其内容是 <see cref="T:System.Web.Http.HttpError" /> 实例的序列化表示形式。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
<param name="error">HTTP 错误。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.Web.Http.ModelBinding.ModelStateDictionary)">
|
|
<summary>创建用于表示模型状态中的错误的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>此请求必须与 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例相关联。<see cref="T:System.Net.Http.HttpResponseMessage" />,其内容是 <see cref="T:System.Web.Http.HttpError" /> 实例的序列化表示形式。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
<param name="modelState">模型状态。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="formatter">媒体类型格式化程序。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="formatter">媒体类型格式化程序。</param>
|
|
<param name="mediaType">媒体类型标头值。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="formatter">媒体类型格式化程序。</param>
|
|
<param name="mediaType">媒体类型。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.Net.Http.Headers.MediaTypeHeaderValue)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="mediaType">媒体类型标头值。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.String)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="mediaType">媒体类型。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.CreateResponse``1(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,``0,System.Web.Http.HttpConfiguration)">
|
|
<summary>创建与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>与关联的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 连接的已初始化 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
<param name="request">导致此响应消息的 HTTP 请求消息。</param>
|
|
<param name="statusCode">HTTP 响应状态代码。</param>
|
|
<param name="value">HTTP 响应消息的内容。</param>
|
|
<param name="configuration">包含用于解析服务的依赖关系解析程序的 HTTP 配置。</param>
|
|
<typeparam name="T">HTTP 响应消息的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.DisposeRequestResources(System.Net.Http.HttpRequestMessage)">
|
|
<summary>释放所有通过 <see cref="M:System.Net.Http.HttpRequestMessageExtensions.RegisterForDispose(System.Net.Http.HttpRequestMessage,System.IDisposable)" /> 方法添加的与 <paramref name="request" /> 关联的受跟踪资源。</summary>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetClientCertificate(System.Net.Http.HttpRequestMessage)">
|
|
<summary>从给定 HTTP 请求获取当前 X.509 证书。</summary>
|
|
<returns>当前 <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> 或 null(如果证书不可用)。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetConfiguration(System.Net.Http.HttpRequestMessage)">
|
|
<summary>检索给定请求的 <see cref="T:System.Web.Http.HttpConfiguration" />。</summary>
|
|
<returns>给定请求的 <see cref="T:System.Web.Http.HttpConfiguration" />。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetCorrelationId(System.Net.Http.HttpRequestMessage)">
|
|
<summary>检索已指定为与给定 <paramref name="request" /> 关联的相关 ID 的 <see cref="T:System.Guid" />。将在第一次调用此方法时创建并设置该值。</summary>
|
|
<returns>表示与请求关联的相关 ID 的 <see cref="T:System.Guid" /> 对象。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetDependencyScope(System.Net.Http.HttpRequestMessage)">
|
|
<summary>检索给定请求的 <see cref="T:System.Web.Http.Dependencies.IDependencyScope" />;如果不可用,则为 null。</summary>
|
|
<returns>给定请求的 <see cref="T:System.Web.Http.Dependencies.IDependencyScope" />;如果不可用,则为 null。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetQueryNameValuePairs(System.Net.Http.HttpRequestMessage)">
|
|
<summary>获取已分析的查询字符串作为键/值对的集合。</summary>
|
|
<returns>作为键/值对集合的查询字符串。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetRouteData(System.Net.Http.HttpRequestMessage)">
|
|
<summary>检索给定请求的 <see cref="T:System.Web.Http.Routing.IHttpRouteData" />;如果不可用,则为 null。</summary>
|
|
<returns>给定请求的 <see cref="T:System.Web.Http.Routing.IHttpRouteData" />;如果不可用,则为 null。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetSynchronizationContext(System.Net.Http.HttpRequestMessage)">
|
|
<summary>检索给定请求的 <see cref="T:System.Threading.SynchronizationContext" />;如果不可用,则为 null。</summary>
|
|
<returns>给定请求的 <see cref="T:System.Threading.SynchronizationContext" />;如果不可用,则为 null。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.GetUrlHelper(System.Net.Http.HttpRequestMessage)">
|
|
<summary>为 HTTP 请求获取 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 实例。</summary>
|
|
<returns>一个已为指定的 HTTP 请求初始化的 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 实例。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpRequestMessageExtensions.RegisterForDispose(System.Net.Http.HttpRequestMessage,System.IDisposable)">
|
|
<summary>将给定的 <paramref name="resource" /> 添加到资源列表,这些资源将在处理 <paramref name="request" /> 后由主机释放。</summary>
|
|
<param name="request">控制 <paramref name="resource" /> 的生命周期的 HTTP 请求。</param>
|
|
<param name="resource">处理 <paramref name="request" /> 后要释放的资源。</param>
|
|
</member>
|
|
<member name="T:System.Net.Http.HttpResponseMessageExtensions">
|
|
<summary>表示 ASP.NET 操作中 HTTP 响应的消息扩展。</summary>
|
|
</member>
|
|
<member name="M:System.Net.Http.HttpResponseMessageExtensions.TryGetContentValue``1(System.Net.Http.HttpResponseMessage,``0@)">
|
|
<summary>尝试检索 <see cref="T:System.Net.Http.HttpResponseMessageExtensions" /> 的内容的值。</summary>
|
|
<returns>内容值的检索结果。</returns>
|
|
<param name="response">操作的响应。</param>
|
|
<param name="value">内容的值。</param>
|
|
<typeparam name="T">要检索的值的类型。</typeparam>
|
|
</member>
|
|
<member name="T:System.Net.Http.Formatting.MediaTypeFormatterExtensions">
|
|
<summary>表示用于将 <see cref="T:System.Net.Http.Formatting.MediaTypeMapping" /> 项添加到 <see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" /> 的扩展。</summary>
|
|
</member>
|
|
<member name="M:System.Net.Http.Formatting.MediaTypeFormatterExtensions.AddUriPathExtensionMapping(System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.Net.Http.Headers.MediaTypeHeaderValue)">
|
|
<summary> 更新给定 formatter 的一组 <see cref="T:System.Net.Http.Formatting.MediaTypeMapping" /> 元素,以使其将 mediaType 与以给定 uriPathExtension 结尾的 <see cref="T:System.Uri" /> 相关联。</summary>
|
|
<param name="formatter">用于接收新的 <see cref="T:System.Net.Http.Formatting.UriPathExtensionMapping" /> 项的 <see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" />。</param>
|
|
<param name="uriPathExtension">
|
|
<see cref="T:System.Uri" /> 路径扩展的字符串。</param>
|
|
<param name="mediaType">要与以 uriPathExtension 结尾的 <see cref="T:System.Uri" /> 关联的 <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.Formatting.MediaTypeFormatterExtensions.AddUriPathExtensionMapping(System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.String)">
|
|
<summary> 更新给定 formatter 的一组 <see cref="T:System.Net.Http.Formatting.MediaTypeMapping" /> 元素,以使其将 mediaType 与以给定 uriPathExtension 结尾的 <see cref="T:System.Uri" /> 相关联。</summary>
|
|
<param name="formatter">用于接收新的 <see cref="T:System.Net.Http.Formatting.UriPathExtensionMapping" /> 项的 <see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" />。</param>
|
|
<param name="uriPathExtension">
|
|
<see cref="T:System.Uri" /> 路径扩展的字符串。</param>
|
|
<param name="mediaType">要与以 uriPathExtension 结尾的 <see cref="T:System.Uri" /> 关联的字符串媒体类型。</param>
|
|
</member>
|
|
<member name="T:System.Net.Http.Formatting.UriPathExtensionMapping">
|
|
<summary>从 <see cref="T:System.Uri" /> 中出现的路径扩展提供 <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />。</summary>
|
|
</member>
|
|
<member name="M:System.Net.Http.Formatting.UriPathExtensionMapping.#ctor(System.String,System.Net.Http.Headers.MediaTypeHeaderValue)">
|
|
<summary> 初始化 <see cref="T:System.Net.Http.Formatting.UriPathExtensionMapping" /> 类的新实例。</summary>
|
|
<param name="uriPathExtension">与 mediaType 对应的扩展。此值应不包括点或通配符。</param>
|
|
<param name="mediaType">匹配 uriPathExtension 时将返回的 <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.Formatting.UriPathExtensionMapping.#ctor(System.String,System.String)">
|
|
<summary> 初始化 <see cref="T:System.Net.Http.Formatting.UriPathExtensionMapping" /> 类的新实例。</summary>
|
|
<param name="uriPathExtension">与 mediaType 对应的扩展。此值应不包括点或通配符。</param>
|
|
<param name="mediaType">匹配 uriPathExtension 时将返回的媒体类型。</param>
|
|
</member>
|
|
<member name="M:System.Net.Http.Formatting.UriPathExtensionMapping.TryMatchMediaType(System.Net.Http.HttpRequestMessage)">
|
|
<summary> 返回一个值,该值指示此 <see cref="T:System.Net.Http.Formatting.UriPathExtensionMapping" /> 实例是否可以为 request 的 <see cref="T:System.Uri" /> 提供 <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />。</summary>
|
|
<returns>如果此实例可以匹配 request 中的文件扩展名,则返回 1.0;否则返回 0.0。</returns>
|
|
<param name="request">要检查的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</param>
|
|
</member>
|
|
<member name="P:System.Net.Http.Formatting.UriPathExtensionMapping.UriPathExtension">
|
|
<summary> 获取 <see cref="T:System.Uri" /> 路径扩展。</summary>
|
|
<returns>
|
|
<see cref="T:System.Uri" /> 路径扩展。</returns>
|
|
</member>
|
|
<member name="F:System.Net.Http.Formatting.UriPathExtensionMapping.UriPathExtensionKey">
|
|
<summary>
|
|
<see cref="T:System.Uri" /> 路径扩展键。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.AcceptVerbsAttribute">
|
|
<summary>表示一个特性,该特性指定操作方法将响应的 HTTP 方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.AcceptVerbsAttribute.#ctor(System.String[])">
|
|
<summary>使用操作方法将响应的 HTTP 方法的列表来初始化 <see cref="T:System.Web.Http.AcceptVerbsAttribute" /> 类的新实例。</summary>
|
|
<param name="methods">操作方法将响应的 HTTP 方法。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.AcceptVerbsAttribute.HttpMethods">
|
|
<summary>获取或设置操作方法将响应的 HTTP 方法的列表。</summary>
|
|
<returns>获取或设置操作方法将响应的 HTTP 方法的列表。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ActionNameAttribute">
|
|
<summary>表示一个用于操作的名称的特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ActionNameAttribute.#ctor(System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ActionNameAttribute" /> 类的新实例。</summary>
|
|
<param name="name">操作的名称。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ActionNameAttribute.Name">
|
|
<summary>获取或设置操作的名称。</summary>
|
|
<returns>操作的名称。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.AllowAnonymousAttribute">
|
|
<summary>指定在授权期间 <see cref="T:System.Web.Http.AuthorizeAttribute" /> 将跳过操作和控制器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.AllowAnonymousAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.AllowAnonymousAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.ApiController">
|
|
<summary>为 API 控制器定义属性和方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ApiController.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ApiController" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.Configuration">
|
|
<summary>获取或设置当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Web.Http.HttpConfiguration" />。</summary>
|
|
<returns>当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Web.Http.HttpConfiguration" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.ControllerContext">
|
|
<summary>获取当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Web.Http.Controllers.HttpControllerContext" />。</summary>
|
|
<returns>当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Web.Http.Controllers.HttpControllerContext" />。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ApiController.Dispose">
|
|
<summary>执行与释放或重置非托管资源关联的应用程序定义任务。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ApiController.Dispose(System.Boolean)">
|
|
<summary>释放对象使用的非托管资源,并有选择性地释放托管资源。</summary>
|
|
<param name="disposing">若为 true,则同时释放托管资源和非托管资源;若为 false,则仅释放非托管资源。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ApiController.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Threading.CancellationToken)">
|
|
<summary>异步执行单个 HTTP 操作。</summary>
|
|
<returns>新启动的任务。</returns>
|
|
<param name="controllerContext">单个 HTTP 操作的控制器上下文。</param>
|
|
<param name="cancellationToken">为 HTTP 操作分配的取消标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ApiController.Initialize(System.Web.Http.Controllers.HttpControllerContext)">
|
|
<summary>使用指定 <paramref name="controllerContext" /> 初始化 <see cref="T:System.Web.Http.ApiController" /> 实例。</summary>
|
|
<param name="controllerContext">用于初始化的 <see cref="T:System.Web.Http.Controllers.HttpControllerContext" /> 对象。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.ModelState">
|
|
<summary>在模型绑定过程之后获取模型状态。</summary>
|
|
<returns>模型绑定过程之后的模型状态。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.Request">
|
|
<summary>获取或设置当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</summary>
|
|
<returns>当前 <see cref="T:System.Web.Http.ApiController" /> 的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.Url">
|
|
<summary>返回 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 的实例,该实例用于生成指向其他 API 的 URL。</summary>
|
|
<returns>用于生成指向其他 API 的 URL 的 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 对象。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ApiController.User">
|
|
<summary> 返回与此请求关联的当前主体。</summary>
|
|
<returns>与此请求关联的当前主体。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.AuthorizeAttribute">
|
|
<summary>指定用于验证请求的 <see cref="T:System.Security.Principal.IPrincipal" /> 的授权筛选器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.AuthorizeAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.AuthorizeAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.AuthorizeAttribute.HandleUnauthorizedRequest(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>处理授权失败的请求。</summary>
|
|
<param name="actionContext">上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.AuthorizeAttribute.IsAuthorized(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>指示指定的控件是否已获得授权。</summary>
|
|
<returns>如果控件已获得授权,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.AuthorizeAttribute.OnAuthorization(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>为操作授权时调用。</summary>
|
|
<param name="actionContext">上下文。</param>
|
|
<exception cref="T:System.ArgumentNullException">上下文参数为 null。</exception>
|
|
</member>
|
|
<member name="P:System.Web.Http.AuthorizeAttribute.Roles">
|
|
<summary>获取或设置授权角色。</summary>
|
|
<returns>角色字符串。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.AuthorizeAttribute.TypeId">
|
|
<summary>获取此特性的唯一标识符。</summary>
|
|
<returns>此特性的唯一标识符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.AuthorizeAttribute.Users">
|
|
<summary>获取或设置授权用户。</summary>
|
|
<returns>用户字符串。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.FromBodyAttribute">
|
|
<summary> 一个特性,该特性指定操作参数仅来自传入 <see cref="T:System.Net.Http.HttpRequestMessage" /> 的实体正文。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.FromBodyAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.FromBodyAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.FromBodyAttribute.GetBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>获取参数绑定。</summary>
|
|
<returns>参数绑定。</returns>
|
|
<param name="parameter">参数说明。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.FromUriAttribute">
|
|
<summary>一个特性,该特性指定操作参数来自传入 <see cref="T:System.Net.Http.HttpRequestMessage" /> 的 URI。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.FromUriAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.FromUriAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.FromUriAttribute.GetValueProviderFactories(System.Web.Http.HttpConfiguration)">
|
|
<summary>获取模型联编程序的值提供程序工厂。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 对象的集合。</returns>
|
|
<param name="configuration">配置。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpBindNeverAttribute">
|
|
<summary>表示用于指定 HTTP 绑定应排除某属性的特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpBindNeverAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpBindNeverAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpBindRequiredAttribute">
|
|
<summary>表示用于 http 绑定的必需特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpBindRequiredAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpBindRequiredAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpConfiguration">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.HttpServer" /> 实例的配置。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpConfiguration.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpConfiguration" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpConfiguration.#ctor(System.Web.Http.HttpRouteCollection)">
|
|
<summary>使用 HTTP 路由集合初始化 <see cref="T:System.Web.Http.HttpConfiguration" /> 类的新实例。</summary>
|
|
<param name="routes">要与此实例关联的 HTTP 路由集合。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.DependencyResolver">
|
|
<summary>获取或设置与此实例关联的依赖关系解析程序。</summary>
|
|
<returns>依赖关系解析程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpConfiguration.Dispose">
|
|
<summary>执行与释放或重置非托管资源关联的应用程序定义任务。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpConfiguration.Dispose(System.Boolean)">
|
|
<summary>释放对象使用的非托管资源,并有选择性地释放托管资源。</summary>
|
|
<param name="disposing">若为 true,则同时释放托管资源和非托管资源;若为 false,则仅释放非托管资源。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Filters">
|
|
<summary>获取适用于所有使用此 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例提供的请求的筛选器列表。</summary>
|
|
<returns>筛选器列表。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Formatters">
|
|
<summary>获取此实例的媒体类型格式化程序。</summary>
|
|
<returns>
|
|
<see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" /> 对象的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.IncludeErrorDetailPolicy">
|
|
<summary>获取或设置一个值,该值指示是否应在错误消息中包含错误详细信息。</summary>
|
|
<returns>用于指示错误详细信息策略的 <see cref="T:System.Web.Http.IncludeErrorDetailPolicy" /> 值。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Initializer">
|
|
<summary> 获取或设置在使用 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例处理请求之前将执行该实例的最终初始化的操作。</summary>
|
|
<returns>将执行 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例的最终初始化的操作。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.MessageHandlers">
|
|
<summary>获取当 <see cref="T:System.Net.Http.HttpRequestMessage" /> 在堆栈中向上遍历,并且 <see cref="T:System.Net.Http.HttpResponseMessage" /> 在堆栈中向下遍历以进行回应时要调用的 <see cref="T:System.Net.Http.DelegatingHandler" /> 实例的排序列表。</summary>
|
|
<returns>消息处理程序集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.ParameterBindingRules">
|
|
<summary>与参数绑定方式相关的规则的集合。</summary>
|
|
<returns>函数的集合,可用于生成给定参数的参数绑定。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Properties">
|
|
<summary>获取与此实例关联的属性。</summary>
|
|
<returns>包含这些属性的 <see cref="T:System.Collections.Concurrent.ConcurrentDictionary`2" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Routes">
|
|
<summary>获取与此 <see cref="T:System.Web.Http.HttpConfiguration" /> 实例关联的 <see cref="T:System.Web.Http.HttpRouteCollection" />。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.HttpRouteCollection" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.Services">
|
|
<summary>获取与此实例关联的默认服务的容器。</summary>
|
|
<returns>包含此实例的默认服务的 <see cref="T:System.Web.Http.Controllers.ServicesContainer" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpConfiguration.VirtualPathRoot">
|
|
<summary>获取根虚拟路径。</summary>
|
|
<returns>根虚拟路径。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpConfigurationExtensions">
|
|
<summary>包含 <see cref="T:System.Web.Http.HttpConfiguration" /> 类的扩展方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpConfigurationExtensions.BindParameter(System.Web.Http.HttpConfiguration,System.Type,System.Web.Http.ModelBinding.IModelBinder)">
|
|
<summary> 表示需要使用模型联编程序绑定操作上的给定参数类型。</summary>
|
|
<param name="configuration">要更新的配置。</param>
|
|
<param name="type">联编程序所应用到的参数类型</param>
|
|
<param name="binder">模型联编程序</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpDeleteAttribute">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpDeleteAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpDeleteAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpDeleteAttribute.HttpMethods">
|
|
<summary>获取 HTTP 方法的集合。</summary>
|
|
<returns>HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpError">
|
|
<summary> 为任意错误信息定义可序列化容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.#ctor">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.HttpError" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.#ctor(System.Exception,System.Boolean)">
|
|
<summary> 为 exception 初始化 <see cref="T:System.Web.Http.HttpError" /> 类的新实例。</summary>
|
|
<param name="exception">要用于错误信息的异常。</param>
|
|
<param name="includeErrorDetail"> 若要在错误中包含异常信息,则为 true;否则为 false</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.#ctor(System.String)">
|
|
<summary> 初始化包含错误消息 message 的 <see cref="T:System.Web.Http.HttpError" /> 类的新实例。</summary>
|
|
<param name="message">要与此实例关联的错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.#ctor(System.Web.Http.ModelBinding.ModelStateDictionary,System.Boolean)">
|
|
<summary> 为 modelState 初始化 <see cref="T:System.Web.Http.HttpError" /> 类的新实例。</summary>
|
|
<param name="modelState">要用于错误信息的无效模型状态。</param>
|
|
<param name="includeErrorDetail"> 若要在错误中包含异常消息,则为 true;否则为 false</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpError.Message">
|
|
<summary> 与此实例关联的错误消息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.System#Xml#Serialization#IXmlSerializable#GetSchema">
|
|
<summary>此方法为保留方法,不应使用。</summary>
|
|
<returns>始终返回 null。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.System#Xml#Serialization#IXmlSerializable#ReadXml(System.Xml.XmlReader)">
|
|
<summary>从 <see cref="T:System.Web.Http.HttpError" /> 的 XML 表示形式生成其实例。</summary>
|
|
<param name="reader">从中反序列化对象的 <see cref="T:System.Xml.XmlReader" /> 流。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpError.System#Xml#Serialization#IXmlSerializable#WriteXml(System.Xml.XmlWriter)">
|
|
<summary>将 <see cref="T:System.Web.Http.HttpError" /> 实例转换为它的 XML 表示形式。</summary>
|
|
<param name="writer">将对象序列化到的 <see cref="T:System.Xml.XmlWriter" /> 流。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpGetAttribute">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpGetAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpGetAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpGetAttribute.HttpMethods">
|
|
<summary>获取 HTTP 方法的集合。</summary>
|
|
<returns>HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpHeadAttribute">
|
|
<summary>表示一个 HTTP 头特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpHeadAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpHeadAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpHeadAttribute.HttpMethods">
|
|
<summary>获取 HTTP 方法的集合。</summary>
|
|
<returns>HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpOptionsAttribute">
|
|
<summary>表示一个特性,该特性用于限制某个 HTTP 方法,使得该方法仅处理 HTTP OPTIONS 请求。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpOptionsAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpOptionsAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpOptionsAttribute.HttpMethods">
|
|
<summary>获取 HTTP OPTIONS 请求所支持的方法的集合。</summary>
|
|
<returns>HTTP OPTIONS 请求所支持的方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpPatchAttribute">
|
|
<summary>表示一个 HTTP 修补程序特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpPatchAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpPatchAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpPatchAttribute.HttpMethods">
|
|
<summary>获取 HTTP 方法的集合。</summary>
|
|
<returns>HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpPostAttribute">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpPostAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpPostAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpPostAttribute.HttpMethods">
|
|
<summary>获取 HTTP 方法的集合。</summary>
|
|
<returns>HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpPutAttribute">
|
|
<summary>表示一个特性,该特性用于限制某个 HTTP 方法,以便该方法仅处理 HTTP PUT 请求。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpPutAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpPutAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpPutAttribute.HttpMethods">
|
|
<summary>获取 HTTP PUT 方法的只读集合。</summary>
|
|
<returns>HTTP PUT 方法的只读集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpResponseException">
|
|
<summary> 允许向客户端返回给定 <see cref="T:System.Net.Http.HttpResponseMessage" /> 的异常。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpResponseException.#ctor(System.Net.Http.HttpResponseMessage)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpResponseException" /> 类的新实例。</summary>
|
|
<param name="response">要返回到客户端的 HTTP 响应。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpResponseException.#ctor(System.Net.HttpStatusCode)">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.HttpResponseException" /> 类的新实例。</summary>
|
|
<param name="statusCode">响应的状态代码。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpResponseException.Response">
|
|
<summary>获取要返回到客户端的 HTTP 响应。</summary>
|
|
<returns>用于表示 HTTP 响应的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpRouteCollection">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例的集合。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpRouteCollection" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.#ctor(System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.HttpRouteCollection" /> 类的新实例。</summary>
|
|
<param name="virtualPathRoot">虚拟路径根。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Add(System.String,System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>向集合中添加 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</summary>
|
|
<param name="name">路由的名称。</param>
|
|
<param name="route">要添加到集合中的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Clear">
|
|
<summary>从集合中移除所有项。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Contains(System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>确定集合是否包含特定 <see cref="T:System.Web.Http.Routing.IHttpRoute" />。</summary>
|
|
<returns>如果在集合中找到 <see cref="T:System.Web.Http.Routing.IHttpRoute" />,则为 true;否则为 false。</returns>
|
|
<param name="item">要在集合中查找的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.ContainsKey(System.String)">
|
|
<summary>确定集合是否包含具有指定键的元素。</summary>
|
|
<returns>如果集合包含具有该键的元素,则为 true;否则为 false。</returns>
|
|
<param name="name">要在集合中查找的键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Web.Http.Routing.IHttpRoute}[],System.Int32)">
|
|
<summary>从特定的数组索引位置开始,将集合的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例复制到一个数组中。</summary>
|
|
<param name="array">作为集合中元素的复制目标位置的数组。</param>
|
|
<param name="arrayIndex">
|
|
<paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.CopyTo(System.Web.Http.Routing.IHttpRoute[],System.Int32)">
|
|
<summary>从特定的数组索引位置开始,将路由名称和集合的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例复制到一个数组中。</summary>
|
|
<param name="array">作为集合中元素的复制目标位置的数组。</param>
|
|
<param name="arrayIndex">
|
|
<paramref name="array" /> 中从零开始的索引,从此索引处开始进行复制。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpRouteCollection.Count">
|
|
<summary>获取集合中的项数。</summary>
|
|
<returns>集合中的项数。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.CreateRoute(System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>创建 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</summary>
|
|
<returns>新的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</returns>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">一个包含默认路由参数的对象。</param>
|
|
<param name="constraints">一个包含路由约束的对象。</param>
|
|
<param name="dataTokens">路由数据标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.CreateRoute(System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IDictionary{System.String,System.Object},System.Collections.Generic.IDictionary{System.String,System.Object},System.Net.Http.HttpMessageHandler)">
|
|
<summary>创建 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</summary>
|
|
<returns>新的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</returns>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">一个包含默认路由参数的对象。</param>
|
|
<param name="constraints">一个包含路由约束的对象。</param>
|
|
<param name="dataTokens">路由数据标记。</param>
|
|
<param name="handler">路由的消息处理程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.CreateRoute(System.String,System.Object,System.Object)">
|
|
<summary>创建 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</summary>
|
|
<returns>新的 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</returns>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">一个包含默认路由参数的对象。</param>
|
|
<param name="constraints">一个包含路由约束的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Dispose">
|
|
<summary>执行与释放或重置非托管资源关联的应用程序定义任务。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Dispose(System.Boolean)">
|
|
<summary>释放对象使用的非托管资源,并有选择性地释放托管资源。</summary>
|
|
<param name="disposing">若为 true,则同时释放托管资源和非托管资源;若为 false,则仅释放非托管资源。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.GetEnumerator">
|
|
<summary>返回一个循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的 <see cref="T:System.Collections.Generic.IEnumerator`1" />。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.GetRouteData(System.Net.Http.HttpRequestMessage)">
|
|
<summary>获取指定的 HTTP 请求的路由数据。</summary>
|
|
<returns>一个表示路由数据的 <see cref="T:System.Web.Http.Routing.IHttpRouteData" /> 实例。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.GetVirtualPath(System.Net.Http.HttpRequestMessage,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>获取虚拟路径。</summary>
|
|
<returns>一个表示虚拟路径的 <see cref="T:System.Web.Http.Routing.IHttpVirtualPathData" /> 实例。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="name">路由名称。</param>
|
|
<param name="values">路由值。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Insert(System.Int32,System.String,System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>将 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例插入到集合中。</summary>
|
|
<param name="index">从零开始的索引,应在此索引处插入 <paramref name="value" />。</param>
|
|
<param name="name">路由名称。</param>
|
|
<param name="value">要插入的 <see cref="T:System.Web.Http.Routing.IHttpRoute" />。值不能为 null。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpRouteCollection.IsReadOnly">
|
|
<summary>获取一个值,该值指示集合是否为只读集合。</summary>
|
|
<returns>如果该集合是只读的,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpRouteCollection.Item(System.Int32)">
|
|
<summary>获取或设置指定索引处的元素。</summary>
|
|
<returns>指定索引处的 <see cref="T:System.Web.Http.Routing.IHttpRoute" />。</returns>
|
|
<param name="index">要获取或要设置的元素的从零开始的索引。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpRouteCollection.Item(System.String)">
|
|
<summary>获取或设置具有指定路由名称的元素。</summary>
|
|
<returns>指定索引处的 <see cref="T:System.Web.Http.Routing.IHttpRoute" />。</returns>
|
|
<param name="name">路由名称。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.OnGetEnumerator">
|
|
<summary>在内部调用以获取集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的 <see cref="T:System.Collections.IEnumerator" />。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.Remove(System.String)">
|
|
<summary>从集合中移除一个 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例。</summary>
|
|
<returns>如果成功移除该元素,则为 true;否则为 false。如果在集合中找不到 <paramref name="name" />,则此方法也会返回 false。</returns>
|
|
<param name="name">要移除的路由的名称。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.System#Collections#Generic#ICollection{T}#Add(System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>向集合中添加一项。</summary>
|
|
<param name="route">要添加到集合中的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.System#Collections#Generic#ICollection{T}#Remove(System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>从集合中移除特定对象的第一个匹配项。</summary>
|
|
<returns>如果从集合中成功移除了 <paramref name="route" />,则为 true;否则为 false。如果在原始集合中找不到 <paramref name="route" />,则此方法也会返回 false。</returns>
|
|
<param name="route">要从集合中移除的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.System#Collections#IEnumerable#GetEnumerator">
|
|
<summary>返回一个循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的 <see cref="T:System.Collections.IEnumerator" /> 对象。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollection.TryGetValue(System.String,System.Web.Http.Routing.IHttpRoute@)">
|
|
<summary>获取具有指定路由名称的 <see cref="T:System.Web.Http.Routing.IHttpRoute" />。</summary>
|
|
<returns>如果集合包含具有指定名称的元素,则为 true;否则为 false。</returns>
|
|
<param name="name">路由名称。</param>
|
|
<param name="route">如果找到该路由名称,此方法返回时将包含 <see cref="T:System.Web.Http.Routing.IHttpRoute" /> 实例;否则为 null。该参数未经初始化即被传递。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpRouteCollection.VirtualPathRoot">
|
|
<summary>获取虚拟路径根。</summary>
|
|
<returns>虚拟路径根。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpRouteCollectionExtensions">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.HttpRouteCollection" /> 的扩展方法</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String)">
|
|
<summary>映射指定的路由模板。</summary>
|
|
<returns>对映射路由的引用。</returns>
|
|
<param name="routes">应用程序的路由的集合。</param>
|
|
<param name="name">要映射的路由的名称。</param>
|
|
<param name="routeTemplate">路由的路由模板。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String,System.Object)">
|
|
<summary>映射指定的路由模板并设置默认路由值。</summary>
|
|
<returns>对映射路由的引用。</returns>
|
|
<param name="routes">应用程序的路由的集合。</param>
|
|
<param name="name">要映射的路由的名称。</param>
|
|
<param name="routeTemplate">路由的路由模板。</param>
|
|
<param name="defaults">一个包含默认路由值的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String,System.Object,System.Object)">
|
|
<summary>映射指定的路由模板并设置默认路由值和约束。</summary>
|
|
<returns>对映射路由的引用。</returns>
|
|
<param name="routes">应用程序的路由的集合。</param>
|
|
<param name="name">要映射的路由的名称。</param>
|
|
<param name="routeTemplate">路由的路由模板。</param>
|
|
<param name="defaults">一个包含默认路由值的对象。</param>
|
|
<param name="constraints">一组表达式,用于限制 routeTemplate 的值。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String,System.Object,System.Object,System.Net.Http.HttpMessageHandler)">
|
|
<summary> 映射指定的路由模板并设置默认的路由值、约束和终结点消息处理程序。</summary>
|
|
<returns>对映射路由的引用。</returns>
|
|
<param name="routes">应用程序的路由的集合。</param>
|
|
<param name="name">要映射的路由的名称。</param>
|
|
<param name="routeTemplate">路由的路由模板。</param>
|
|
<param name="defaults">一个包含默认路由值的对象。</param>
|
|
<param name="constraints">一组表达式,用于限制 routeTemplate 的值。</param>
|
|
<param name="handler">请求将被调度到的处理程序。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.HttpServer">
|
|
<summary> 定义用于调度传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 并创建 <see cref="T:System.Net.Http.HttpResponseMessage" /> 作为结果的 <see cref="T:System.Net.Http.HttpMessageHandler" /> 实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.#ctor">
|
|
<summary>使用默认配置和调度程序初始化 <see cref="T:System.Web.Http.HttpServer" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.#ctor(System.Net.Http.HttpMessageHandler)">
|
|
<summary> 使用指定调度程序初始化 <see cref="T:System.Web.Http.HttpServer" /> 类的新实例。</summary>
|
|
<param name="dispatcher">将处理传入请求的 HTTP 调度程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary>使用指定配置初始化 <see cref="T:System.Web.Http.HttpServer" /> 类的新实例。</summary>
|
|
<param name="configuration">用于配置此实例的 <see cref="T:System.Web.Http.HttpConfiguration" />。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.#ctor(System.Web.Http.HttpConfiguration,System.Net.Http.HttpMessageHandler)">
|
|
<summary>使用指定配置和调度程序初始化 <see cref="T:System.Web.Http.HttpServer" /> 类的新实例。</summary>
|
|
<param name="configuration">用于配置此实例的 <see cref="T:System.Web.Http.HttpConfiguration" />。</param>
|
|
<param name="dispatcher">将处理传入请求的 HTTP 调度程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpServer.Configuration">
|
|
<summary>获取用于配置此实例的 <see cref="T:System.Web.Http.HttpConfiguration" />。</summary>
|
|
<returns>用于配置此实例的 <see cref="T:System.Web.Http.HttpConfiguration" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.HttpServer.Dispatcher">
|
|
<summary>获取用于处理传入请求的 HTTP 调度程序。</summary>
|
|
<returns>用于处理传入请求的 HTTP 调度程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.Dispose(System.Boolean)">
|
|
<summary>释放对象使用的非托管资源,并有选择性地释放托管资源。</summary>
|
|
<param name="disposing">若为 true,则同时释放托管资源和非托管资源;若为 false,则仅释放非托管资源。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.Initialize">
|
|
<summary>为操作准备服务器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.HttpServer.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)">
|
|
<summary>调度传入的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</summary>
|
|
<returns> 表示异步操作的任务。</returns>
|
|
<param name="request">要调度的请求。</param>
|
|
<param name="cancellationToken">要监视的取消请求标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.IncludeErrorDetailPolicy">
|
|
<summary>指定是否应在错误消息中包含错误详细信息,例如异常消息和堆栈跟踪。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.IncludeErrorDetailPolicy.Default">
|
|
<summary>对主机环境使用默认行为。对于 ASP.NET 托管,使用 Web.config 文件的 customErrors 元素中的值。对于自承载,使用值 <see cref="F:System.Web.Http.IncludeErrorDetailPolicy.LocalOnly" />。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.IncludeErrorDetailPolicy.LocalOnly">
|
|
<summary>仅在响应本地请求时包含错误详细信息。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.IncludeErrorDetailPolicy.Always">
|
|
<summary>始终包含错误详细信息。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.IncludeErrorDetailPolicy.Never">
|
|
<summary>从不包含错误详细信息。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.NonActionAttribute">
|
|
<summary>表示一个特性,该特性用于指示控制器方法不是操作方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.NonActionAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.NonActionAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.ParameterBindingAttribute">
|
|
<summary> 用于生成 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" /> 的参数或类型的特性。如果该特性是关于类型声明的,则表示该特性将存在于该类型的所有操作参数上。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ParameterBindingAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ParameterBindingAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ParameterBindingAttribute.GetBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>获取参数绑定。</summary>
|
|
<returns>参数绑定。</returns>
|
|
<param name="parameter">参数说明。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.RouteParameter">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.RouteParameter" /> 类可用于指示有关某个路由参数的属性(位于某个 <see cref="M:IHttpRoute.RouteTemplate" /> 的段中的文本和占位符)。例如,它可用于指示某个路由参数是可选的。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.RouteParameter.Optional">
|
|
<summary>一个可选参数。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.RouteParameter.ToString">
|
|
<summary>返回一个表示此实例的 <see cref="T:System.String" />。</summary>
|
|
<returns>一个表示此实例的 <see cref="T:System.String" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ServicesExtensions">
|
|
<summary>为从 <see cref="T:System.Web.Http.Controllers.ServicesContainer" /> 对象获得的服务提供类型安全的访问器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetActionInvoker(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Controllers.IHttpActionInvoker" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Controllers.IHttpActionInvoker" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetActionSelector(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Controllers.IHttpActionSelector" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Controllers.IHttpActionSelector" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetActionValueBinder(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Controllers.IActionValueBinder" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Controllers.IActionValueBinder" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetApiExplorer(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Description.IApiExplorer" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Description.IApiExplorer" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetAssembliesResolver(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Dispatcher.IAssembliesResolver" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Dispatcher.IAssembliesResolver" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetBodyModelValidator(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Validation.IBodyModelValidator" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Validation.IBodyModelValidator" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetContentNegotiator(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Net.Http.Formatting.IContentNegotiator" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Net.Http.Formatting.IContentNegotiator" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetDocumentationProvider(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Description.IDocumentationProvider" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Description.IDocumentationProvider" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetFilterProviders(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Filters.IFilterProvider" /> 集合。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Filters.IFilterProvider" /> 对象的集合。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetHostBufferPolicySelector(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetHttpControllerActivator(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerActivator" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerActivator" /> 实例;如果未注册任何实例,则返回 null。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetHttpControllerSelector(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerSelector" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerSelector" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetHttpControllerTypeResolver(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerTypeResolver" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerTypeResolver" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetModelBinderProviders(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 集合。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 对象的集合。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetModelMetadataProvider(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetModelValidatorProviders(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 集合。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 对象的集合。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetTraceManager(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Tracing.ITraceManager" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Tracing.ITraceManager" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetTraceWriter(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> 服务。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> 实例。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ServicesExtensions.GetValueProviderFactories(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>获取 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 集合。</summary>
|
|
<returns>返回 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 对象的集合。</returns>
|
|
<param name="services">服务容器。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ApiControllerActionInvoker">
|
|
<summary>调用控制器的操作方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ApiControllerActionInvoker.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ApiControllerActionInvoker" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ApiControllerActionInvoker.InvokeActionAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>使用指定的控制器上下文来异步调用指定操作。</summary>
|
|
<returns>已调用的操作。</returns>
|
|
<param name="actionContext">控制器上下文。</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ApiControllerActionSelector">
|
|
<summary>表示基于反射的操作选择器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ApiControllerActionSelector.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ApiControllerActionSelector" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ApiControllerActionSelector.GetActionMapping(System.Web.Http.Controllers.HttpControllerDescriptor)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Controllers.ApiControllerActionSelector" /> 的操作映射。</summary>
|
|
<returns>操作映射。</returns>
|
|
<param name="controllerDescriptor">描述控制器的信息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ApiControllerActionSelector.SelectAction(System.Web.Http.Controllers.HttpControllerContext)">
|
|
<summary>为 <see cref="T:System.Web.Http.Controllers.ApiControllerActionSelector" /> 选择操作。</summary>
|
|
<returns>选定的操作。</returns>
|
|
<param name="controllerContext">控制器上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ControllerServices">
|
|
<summary> 表示可以特定于控制器的服务的容器。这将覆盖其父 <see cref="T:System.Web.Http.Controllers.ServicesContainer" /> 中的服务。控制器可以在此处设置服务,也可以贯穿到更全局的服务集。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.#ctor(System.Web.Http.Controllers.ServicesContainer)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ControllerServices" /> 类的新实例。</summary>
|
|
<param name="parent">父服务容器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.ClearSingle(System.Type)">
|
|
<summary>从默认服务中删除单实例服务。</summary>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.GetService(System.Type)">
|
|
<summary>获取指定类型的服务。</summary>
|
|
<returns>服务的第一个实例;如果找不到该服务,则为 null。</returns>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.GetServiceInstances(System.Type)">
|
|
<summary>获取给定服务类型的服务对象的列表,并验证该服务类型。</summary>
|
|
<returns>指定类型的服务对象的列表。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.GetServices(System.Type)">
|
|
<summary>获取给定服务类型的服务对象的列表。</summary>
|
|
<returns>指定类型的服务对象的列表;如果未找到该服务,则为空列表。</returns>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.IsSingleService(System.Type)">
|
|
<summary>查询服务类型是否为单实例。</summary>
|
|
<returns>如果该服务类型最多只有一个实例,则为 true;如果该服务类型支持多个实例,则为 false。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ControllerServices.ReplaceSingle(System.Type,System.Object)">
|
|
<summary>替换单实例服务对象。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">服务对象,用于替换以前的实例。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpActionBinding">
|
|
<summary>描述绑定将“如何”发生但不实际进行绑定。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionBinding.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpActionBinding" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionBinding.#ctor(System.Web.Http.Controllers.HttpActionDescriptor,System.Web.Http.Controllers.HttpParameterBinding[])">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpActionBinding" /> 类的新实例。</summary>
|
|
<param name="actionDescriptor">此绑定所用于的操作的后向指针。</param>
|
|
<param name="bindings">每个参数的同步绑定。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionBinding.ActionDescriptor">
|
|
<summary>获取或设置此绑定所用于的操作的后向指针。</summary>
|
|
<returns>此绑定所用于的操作的后向指针。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionBinding.ExecuteBindingAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>异步执行给定请求上下文的绑定。</summary>
|
|
<returns>绑定完成时将通知的任务。 </returns>
|
|
<param name="actionContext">绑定的操作上下文。这包含将进行填充的参数字典。</param>
|
|
<param name="cancellationToken">用于取消绑定操作的取消标记。联编程序也可以将参数绑定到此项。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionBinding.ParameterBindings">
|
|
<summary>获取或设置每个参数的同步绑定。</summary>
|
|
<returns>每个参数的同步绑定。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpActionContext">
|
|
<summary>包含正在执行的操作的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContext.#ctor">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 类的新实例。 </summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContext.#ctor(System.Web.Http.Controllers.HttpControllerContext,System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 类的新实例。</summary>
|
|
<param name="controllerContext">控制器上下文。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.ActionArguments">
|
|
<summary>获取操作参数的列表。</summary>
|
|
<returns>操作参数的列表。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.ActionDescriptor">
|
|
<summary>获取或设置操作上下文的操作描述符。</summary>
|
|
<returns>操作描述符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.ControllerContext">
|
|
<summary>获取或设置控制器上下文。</summary>
|
|
<returns>控制器上下文。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.ModelState">
|
|
<summary>获取上下文的模型状态字典。</summary>
|
|
<returns>模型状态字典。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.Request">
|
|
<summary>获取操作上下文的请求消息。</summary>
|
|
<returns>操作上下文的请求消息。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionContext.Response">
|
|
<summary>获取或设置操作上下文的响应消息。</summary>
|
|
<returns>操作上下文的响应消息。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpActionContextExtensions">
|
|
<summary>包含 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 的扩展方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.Bind(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的控制器上下文和绑定上下文将模型绑定到一个值。</summary>
|
|
<returns>如果已成功绑定,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">执行上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.Bind(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.Collections.Generic.IEnumerable{System.Web.Http.ModelBinding.IModelBinder})">
|
|
<summary>使用指定的控制器上下文、绑定上下文和模型联编程序将模型绑定到一个值。</summary>
|
|
<returns>如果已成功绑定,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">执行上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
<param name="binders">模型联编程序的集合。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.GetMetadataProvider(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>检索给定 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 的 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /> 实例。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /> 实例。</returns>
|
|
<param name="actionContext">上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.GetValidatorProviders(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>检索已注册的 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 实例的集合。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 实例的集合。</returns>
|
|
<param name="actionContext">上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.GetValidators(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.Metadata.ModelMetadata)">
|
|
<summary>检索已注册的 <see cref="T:System.Web.Http.Validation.ModelValidator" /> 实例的集合。</summary>
|
|
<returns>已注册的 <see cref="T:System.Web.Http.Validation.ModelValidator" /> 实例的集合。</returns>
|
|
<param name="actionContext">上下文。</param>
|
|
<param name="metadata">元数据。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionContextExtensions.TryBindStrongModel``1(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.String,System.Web.Http.Metadata.ModelMetadataProvider,``0@)">
|
|
<summary>使用指定的执行上下文和绑定上下文将模型绑定到属性。</summary>
|
|
<returns>如果已成功绑定,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">执行上下文。</param>
|
|
<param name="parentBindingContext">父绑定上下文。</param>
|
|
<param name="propertyName">要与模型绑定的属性的名称。</param>
|
|
<param name="metadataProvider">模型的元数据提供程序。</param>
|
|
<param name="model">此方法返回时,将包含已绑定的模型。</param>
|
|
<typeparam name="TModel">模型的类型。</typeparam>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpActionDescriptor">
|
|
<summary>提供有关操作方法的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.#ctor(System.Web.Http.Controllers.HttpControllerDescriptor)">
|
|
<summary>使用用于描述操作控制器的指定信息初始化 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 类的新实例。</summary>
|
|
<param name="controllerDescriptor">用于描述操作控制器的信息。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.ActionBinding">
|
|
<summary>获取或设置用于描述操作的绑定。</summary>
|
|
<returns>用于描述操作的绑定。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.ActionName">
|
|
<summary>获取操作的名称。</summary>
|
|
<returns>操作的名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.Configuration">
|
|
<summary>获取或设置操作配置。</summary>
|
|
<returns>操作配置。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.ControllerDescriptor">
|
|
<summary>获取用于描述操作控制器的信息。</summary>
|
|
<returns>用于描述操作控制器的信息。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)">
|
|
<summary>执行所描述的操作并返回 <see cref="T:System.Threading.Tasks.Task`1" />,后者在完成后将包含该操作的返回值。</summary>
|
|
<returns>
|
|
<see cref="T:System.Threading.Tasks.Task`1" />,完成后将包含操作的返回值。</returns>
|
|
<param name="controllerContext">控制器上下文。</param>
|
|
<param name="arguments">参数列表。</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.GetCustomAttributes``1">
|
|
<summary>返回与操作描述符关联的自定义特性。</summary>
|
|
<returns>与操作描述符关联的自定义特性。</returns>
|
|
<typeparam name="T">操作描述符。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.GetFilterPipeline">
|
|
<summary>检索给定配置和操作的筛选器。</summary>
|
|
<returns>给定配置和操作的筛选器。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.GetFilters">
|
|
<summary>检索操作描述符的筛选器。</summary>
|
|
<returns>操作描述符的筛选器。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpActionDescriptor.GetParameters">
|
|
<summary>检索操作描述符的参数。</summary>
|
|
<returns>操作描述符的参数。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.Properties">
|
|
<summary>获取与此实例关联的属性。</summary>
|
|
<returns>与此实例关联的属性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.ResultConverter">
|
|
<summary>获取用于将调用 <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> 的结果正确转换为 <see cref="T:System.Net.Http.HttpResponseMessage" /> 实例的转换器。</summary>
|
|
<returns>操作结果转换器。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.ReturnType">
|
|
<summary>获取描述符的返回类型。</summary>
|
|
<returns>描述符的返回类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpActionDescriptor.SupportedHttpMethods">
|
|
<summary>获取描述符的受支持 HTTP 方法的集合。</summary>
|
|
<returns>描述符的受支持 HTTP 方法的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpControllerContext">
|
|
<summary>包含单个 HTTP 操作的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerContext.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpControllerContext" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerContext.#ctor(System.Web.Http.HttpConfiguration,System.Web.Http.Routing.IHttpRouteData,System.Net.Http.HttpRequestMessage)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpControllerContext" /> 类的新实例。</summary>
|
|
<param name="configuration">配置。</param>
|
|
<param name="routeData">路由数据。</param>
|
|
<param name="request">请求。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerContext.Configuration">
|
|
<summary>获取或设置配置。</summary>
|
|
<returns>配置。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerContext.Controller">
|
|
<summary>获取或设置 HTTP 控制器。</summary>
|
|
<returns>HTTP 控制器。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerContext.ControllerDescriptor">
|
|
<summary>获取或设置控制器描述符。</summary>
|
|
<returns>控制器描述符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerContext.Request">
|
|
<summary>获取或设置请求。</summary>
|
|
<returns>请求。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerContext.RouteData">
|
|
<summary>获取或设置路由数据。</summary>
|
|
<returns>路由数据。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpControllerDescriptor">
|
|
<summary>表示描述 HTTP 控制器的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerDescriptor.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerDescriptor.#ctor(System.Web.Http.HttpConfiguration,System.String,System.Type)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 类的新实例。</summary>
|
|
<param name="configuration">配置。</param>
|
|
<param name="controllerName">控制器名称。</param>
|
|
<param name="controllerType">控制器类型。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerDescriptor.Configuration">
|
|
<summary>获取或设置与控制器关联的配置。</summary>
|
|
<returns>与控制器关联的配置。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerDescriptor.ControllerName">
|
|
<summary>获取或设置控制器的名称。</summary>
|
|
<returns>控制器的名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerDescriptor.ControllerType">
|
|
<summary>获取或设置控制器的类型。</summary>
|
|
<returns>控制器的类型。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(System.Net.Http.HttpRequestMessage)">
|
|
<summary>为给定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 创建一个控制器实例。</summary>
|
|
<returns>创建的控制器实例。</returns>
|
|
<param name="request">请求消息</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerDescriptor.GetCustomAttributes``1">
|
|
<summary>检索控制器的自定义特性的集合。</summary>
|
|
<returns>自定义特性的集合。</returns>
|
|
<typeparam name="T">对象的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerDescriptor.GetFilters">
|
|
<summary>返回与控制器关联的筛选器的集合。</summary>
|
|
<returns>与控制器关联的筛选器的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerDescriptor.Properties">
|
|
<summary>获取与此实例关联的属性。</summary>
|
|
<returns>与此实例关联的属性。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpControllerSettings">
|
|
<summary>包含 HTTP 控制器的设置。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpControllerSettings.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpControllerSettings" /> 类的新实例。</summary>
|
|
<param name="configuration">用于初始化实例的配置对象。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerSettings.Formatters">
|
|
<summary>获取控制器的 <see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" /> 实例的集合。</summary>
|
|
<returns>
|
|
<see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" /> 实例的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerSettings.ParameterBindingRules">
|
|
<summary>获取控制器的参数绑定函数的集合。</summary>
|
|
<returns>参数绑定函数的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpControllerSettings.Services">
|
|
<summary>获取控制器的服务实例的集合。</summary>
|
|
<returns>服务实例的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpParameterBinding">
|
|
<summary> 描述如何绑定参数。绑定应为静态绑定(纯粹基于描述符),并可以跨请求共享。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">用于描述参数的 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" />。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterBinding.Descriptor">
|
|
<summary>获取用于初始化此实例的 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" />。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 实例。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterBinding.ErrorMessage">
|
|
<summary>如果绑定无效,则获取描述绑定错误的错误消息。</summary>
|
|
<returns>错误消息。如果绑定成功,则此值为 null。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>以异步方式执行给定请求的绑定。</summary>
|
|
<returns>一个表示异步操作的任务对象。</returns>
|
|
<param name="metadataProvider">要用于验证的元数据提供程序。</param>
|
|
<param name="actionContext">绑定的操作上下文。操作上下文包含将使用参数填充的参数字典。</param>
|
|
<param name="cancellationToken">用于取消绑定操作的取消标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterBinding.GetValue(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary> 从操作上下文的参数字典中获取参数值。</summary>
|
|
<returns>此参数在给定操作上下文中的值;如果尚未设置此参数,则为 null。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterBinding.IsValid">
|
|
<summary>获取一个值,该值指示绑定是否成功。</summary>
|
|
<returns>如果绑定成功,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterBinding.SetValue(System.Web.Http.Controllers.HttpActionContext,System.Object)">
|
|
<summary>在操作上下文的参数字典中设置此参数绑定的结果。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="value">参数值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterBinding.WillReadBody">
|
|
<summary>返回一个值,该值指示此 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" /> 实例是否将读取 HTTP 消息的实体正文。</summary>
|
|
<returns>如果此 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" /> 将读取实体正文,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.HttpParameterDescriptor">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterDescriptor.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterDescriptor.#ctor(System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 类的新实例。</summary>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.ActionDescriptor">
|
|
<summary>获取或设置操作描述符。</summary>
|
|
<returns>操作描述符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.Configuration">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 的 <see cref="T:System.Web.Http.HttpConfiguration" />。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 的 <see cref="T:System.Web.Http.HttpConfiguration" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.DefaultValue">
|
|
<summary>获取参数的默认值。</summary>
|
|
<returns>参数的默认值。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.HttpParameterDescriptor.GetCustomAttributes``1">
|
|
<summary>从参数中检索自定义特性的集合。</summary>
|
|
<returns>参数中的自定义特性的集合。</returns>
|
|
<typeparam name="T">自定义特性的类型。</typeparam>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.IsOptional">
|
|
<summary>获取一个值,该值指示参数是否为可选。</summary>
|
|
<returns>如果参数为可选,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.ParameterBinderAttribute">
|
|
<summary>获取或设置参数绑定特性。</summary>
|
|
<returns>参数绑定特性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.ParameterName">
|
|
<summary>获取参数名。</summary>
|
|
<returns>参数名。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.ParameterType">
|
|
<summary>获取参数的类型。</summary>
|
|
<returns>参数的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.Prefix">
|
|
<summary>获取此参数的前缀。</summary>
|
|
<returns>此参数的前缀。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.HttpParameterDescriptor.Properties">
|
|
<summary>获取此参数的属性。</summary>
|
|
<returns>此参数的属性。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IActionResultConverter">
|
|
<summary> 一个转换例程的协定,该转换例程可以使用从 <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> 返回的操作结果,并将该结果转换为 <see cref="T:System.Net.Http.HttpResponseMessage" /> 的实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IActionResultConverter.Convert(System.Web.Http.Controllers.HttpControllerContext,System.Object)">
|
|
<summary>将指定的 <see cref="T:System.Web.Http.Controllers.IActionResultConverter" /> 对象转换为另一个对象。</summary>
|
|
<returns>转换后的对象。</returns>
|
|
<param name="controllerContext">控制器上下文。</param>
|
|
<param name="actionResult">操作结果。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IActionValueBinder">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IActionValueBinder.GetBinding(System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>获取 <see cref="T:System.Web.Http.Controllers.HttpActionBinding" /></summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Controllers.HttpActionBinding" /> 对象。</returns>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IControllerConfiguration">
|
|
<summary> 如果某个控制器是使用此接口的特性修饰的,则将调用此接口来初始化该控制器设置。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IControllerConfiguration.Initialize(System.Web.Http.Controllers.HttpControllerSettings,System.Web.Http.Controllers.HttpControllerDescriptor)">
|
|
<summary> 为设置此 controllerDescriptor 的按控制器重写而调用的回调。</summary>
|
|
<param name="controllerSettings">要初始化的控制器设置。</param>
|
|
<param name="controllerDescriptor">控制器描述符。请注意,<see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 可以与派生的控制器类型相关联(假定 <see cref="T:System.Web.Http.Controllers.IControllerConfiguration" /> 是继承的)。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IHttpActionInvoker">
|
|
<summary>包含用于调用 HTTP 操作的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IHttpActionInvoker.InvokeActionAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>异步执行 HTTP 操作。</summary>
|
|
<returns>新启动的任务。</returns>
|
|
<param name="actionContext">执行上下文。</param>
|
|
<param name="cancellationToken">为 HTTP 操作分配的取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IHttpActionSelector">
|
|
<summary>包含用于选择操作方法的逻辑。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IHttpActionSelector.GetActionMapping(System.Web.Http.Controllers.HttpControllerDescriptor)">
|
|
<summary>返回选择器可以选择的所有 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 的映射,该映射使用操作字符串作为键。此方法主要由 <see cref="T:System.Web.Http.Description.IApiExplorer" /> 调用,以发现控制器中的所有可能操作。</summary>
|
|
<returns>选择器可以选择的 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 的映射或 null(如果选择器没有 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 的已经过良好定义的映射)。</returns>
|
|
<param name="controllerDescriptor">控制器描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IHttpActionSelector.SelectAction(System.Web.Http.Controllers.HttpControllerContext)">
|
|
<summary>选择控制器的操作。</summary>
|
|
<returns>控制器的操作。</returns>
|
|
<param name="controllerContext">控制器的上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.IHttpController">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.IHttpController.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Threading.CancellationToken)">
|
|
<summary>执行用于同步的控制器。</summary>
|
|
<returns>控制器。</returns>
|
|
<param name="controllerContext">测试控制器的当前上下文。</param>
|
|
<param name="cancellationToken">取消操作的通知。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ParameterBindingExtensions">
|
|
<summary>定义 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" /> 的扩展方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindAsError(System.Web.Http.Controllers.HttpParameterDescriptor,System.String)">
|
|
<summary>绑定导致错误的参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="message">用于描述绑定失败原因的错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithAttribute(System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.ParameterBindingAttribute)">
|
|
<summary>绑定参数,就像该参数具有声明中的给定特性一样。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">要为其提供绑定的参数。</param>
|
|
<param name="attribute">用于描述绑定的特性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithFormatter(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>通过分析 HTTP 正文内容绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithFormatter(System.Web.Http.Controllers.HttpParameterDescriptor,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})">
|
|
<summary>通过分析 HTTP 正文内容绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="formatters">格式化程序的列表,可从中选择用于将参数序列化为对象的适当格式化程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithFormatter(System.Web.Http.Controllers.HttpParameterDescriptor,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter},System.Web.Http.Validation.IBodyModelValidator)">
|
|
<summary>通过分析 HTTP 正文内容绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="formatters">格式化程序的列表,可从中选择用于将参数序列化为对象的适当格式化程序。</param>
|
|
<param name="bodyModelValidator">用于验证参数的正文模型验证程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithFormatter(System.Web.Http.Controllers.HttpParameterDescriptor,System.Net.Http.Formatting.MediaTypeFormatter[])">
|
|
<summary>通过分析 HTTP 正文内容绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="formatters">格式化程序的列表,可从中选择用于将参数序列化为对象的适当格式化程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithModelBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>通过分析查询字符串绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithModelBinding(System.Web.Http.Controllers.HttpParameterDescriptor,System.Collections.Generic.IEnumerable{System.Web.Http.ValueProviders.ValueProviderFactory})">
|
|
<summary>通过分析查询字符串绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="valueProviderFactories">用于提供查询字符串参数数据的值提供程序工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithModelBinding(System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.ModelBinding.IModelBinder)">
|
|
<summary>通过分析查询字符串绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="binder">用于将参数组装为对象的模型联编程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithModelBinding(System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.ModelBinding.IModelBinder,System.Collections.Generic.IEnumerable{System.Web.Http.ValueProviders.ValueProviderFactory})">
|
|
<summary>通过分析查询字符串绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="binder">用于将参数组装为对象的模型联编程序。</param>
|
|
<param name="valueProviderFactories">用于提供查询字符串参数数据的值提供程序工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ParameterBindingExtensions.BindWithModelBinding(System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.ValueProviders.ValueProviderFactory[])">
|
|
<summary>通过分析查询字符串绑定参数。</summary>
|
|
<returns>HTTP 参数绑定对象。</returns>
|
|
<param name="parameter">用于描述要绑定的参数的参数描述符。</param>
|
|
<param name="valueProviderFactories">用于提供查询字符串参数数据的值提供程序工厂。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ReflectedHttpActionDescriptor">
|
|
<summary>表示反射的同步或异步操作方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ReflectedHttpActionDescriptor" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.#ctor(System.Web.Http.Controllers.HttpControllerDescriptor,System.Reflection.MethodInfo)">
|
|
<summary>使用指定描述符和方法详细信息初始化 <see cref="T:System.Web.Http.Controllers.ReflectedHttpActionDescriptor" /> 类的新实例。</summary>
|
|
<param name="controllerDescriptor">控制器描述符。</param>
|
|
<param name="methodInfo">操作方法信息。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionName">
|
|
<summary>获取操作的名称。</summary>
|
|
<returns>操作的名称。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)">
|
|
<summary>执行所描述的操作并返回 <see cref="T:System.Threading.Tasks.Task`1" />,后者在完成后将包含该操作的返回值。</summary>
|
|
<returns>
|
|
<see cref="T:System.Threading.Tasks.Task`1"" />,完成后将包含操作的返回值。</returns>
|
|
<param name="controllerContext">上下文。</param>
|
|
<param name="arguments">参数。</param>
|
|
<param name="cancellationToken">用于取消操作的取消标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.GetCustomAttributes``1">
|
|
<summary>返回为此成员定义的自定义特性的数组(按类型标识)。</summary>
|
|
<returns>自定义特性的数组,如果没有自定义特性,则为空数组。</returns>
|
|
<typeparam name="T">自定义特性的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.GetFilters">
|
|
<summary>检索有关操作筛选器的信息。</summary>
|
|
<returns>筛选器信息。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.GetParameters">
|
|
<summary>检索操作方法的参数。</summary>
|
|
<returns>操作方法的参数。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.MethodInfo">
|
|
<summary>获取或设置操作方法信息。</summary>
|
|
<returns>操作方法信息。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ReturnType">
|
|
<summary>获取此方法的返回类型。</summary>
|
|
<returns>此方法的返回类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpActionDescriptor.SupportedHttpMethods">
|
|
<summary>获取或设置支持的 http 方法。</summary>
|
|
<returns>支持的 http 方法。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.#ctor(System.Web.Http.Controllers.HttpActionDescriptor,System.Reflection.ParameterInfo)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor" /> 类的新实例。</summary>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
<param name="parameterInfo">参数信息。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.DefaultValue">
|
|
<summary>获取参数的默认值。</summary>
|
|
<returns>参数的默认值。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.GetCustomAttributes``1">
|
|
<summary>从参数中检索自定义特性的集合。</summary>
|
|
<returns>参数中的自定义特性的集合。</returns>
|
|
<typeparam name="T">自定义特性的类型。</typeparam>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.IsOptional">
|
|
<summary>获取一个值,该值指示参数是否为可选。</summary>
|
|
<returns>如果参数为可选,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.ParameterInfo">
|
|
<summary>获取或设置参数信息。</summary>
|
|
<returns>参数信息。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.ParameterName">
|
|
<summary>获取参数名。</summary>
|
|
<returns>参数名。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.ParameterType">
|
|
<summary>获取参数的类型。</summary>
|
|
<returns>参数的类型。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ResponseMessageResultConverter">
|
|
<summary>表示返回类型为 <see cref="T:System.Net.Http.HttpResponseMessage" /> 的操作的转换器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ResponseMessageResultConverter.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ResponseMessageResultConverter" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ResponseMessageResultConverter.Convert(System.Web.Http.Controllers.HttpControllerContext,System.Object)">
|
|
<summary>将 <see cref="T:System.Web.Http.Controllers.ResponseMessageResultConverter" /> 对象转换为其他对象。</summary>
|
|
<returns>转换后的对象。</returns>
|
|
<param name="controllerContext">控制器上下文。</param>
|
|
<param name="actionResult">操作结果。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ServicesContainer">
|
|
<summary>一种抽象类,用于为 ASP.NET Web API 所使用的服务提供容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ServicesContainer" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Add(System.Type,System.Object)">
|
|
<summary> 将服务添加到给定服务类型的服务列表的末尾。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">服务实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.AddRange(System.Type,System.Collections.Generic.IEnumerable{System.Object})">
|
|
<summary> 将指定集合的服务添加到给定服务类型的服务列表的末尾。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="services">要添加的服务。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Clear(System.Type)">
|
|
<summary> 删除给定服务类型的所有服务实例。</summary>
|
|
<param name="serviceType">要从服务列表中清除的服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ClearMultiple(System.Type)">
|
|
<summary>删除多实例服务类型的所有实例。</summary>
|
|
<param name="serviceType">要删除的服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ClearSingle(System.Type)">
|
|
<summary>删除单实例服务类型。</summary>
|
|
<param name="serviceType">要删除的服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Dispose">
|
|
<summary>执行与释放或重置非托管资源关联的应用程序定义任务。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.FindIndex(System.Type,System.Predicate{System.Object})">
|
|
<summary> 搜索与指定的谓词所定义的条件匹配的服务,并返回第一个匹配项的从零开始的索引。</summary>
|
|
<returns>如果找到,则返回第一个匹配项的从零开始的索引;否则为 -1。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="match">一个委托,该委托定义了要搜索的元素的条件。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.GetService(System.Type)">
|
|
<summary>获取指定类型的服务实例。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.GetServiceInstances(System.Type)">
|
|
<summary>获取指定类型的服务实例的可变列表。</summary>
|
|
<returns>服务实例的可变列表。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.GetServices(System.Type)">
|
|
<summary>获取指定类型的服务实例的集合。</summary>
|
|
<returns>服务实例的集合。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Insert(System.Type,System.Int32,System.Object)">
|
|
<summary> 在集合中的指定索引处插入一个服务。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="index">从零开始的索引,应在此索引处插入服务。如果传递了 <see cref="F:System.Int32.MaxValue" />,请确保将该元素添加到末尾。</param>
|
|
<param name="service">要插入的服务。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.InsertRange(System.Type,System.Int32,System.Collections.Generic.IEnumerable{System.Object})">
|
|
<summary> 将集合中的元素插入到服务列表的指定索引处。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="index">从零开始的索引,应在此索引处插入新元素。如果传递了 <see cref="F:System.Int32.MaxValue" />,请确保将这些元素添加到末尾。</param>
|
|
<param name="services">要插入的服务的集合。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.IsSingleService(System.Type)">
|
|
<summary> 确定服务类型应使用 GetService 还是 GetServices 进行提取。</summary>
|
|
<returns>如果服务为单数,则为 true。</returns>
|
|
<param name="serviceType">要查询的服务类型</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Remove(System.Type,System.Object)">
|
|
<summary> 从给定服务类型的服务列表中删除给定服务的第一个匹配项。</summary>
|
|
<returns>如果已成功删除该项,则为 true;否则为 false。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">要删除的服务实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.RemoveAll(System.Type,System.Predicate{System.Object})">
|
|
<summary> 删除与指定谓词所定义的条件匹配的所有元素。</summary>
|
|
<returns>从列表中删除的元素的数目。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="match">一个委托,该委托定义了要删除的元素的条件。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.RemoveAt(System.Type,System.Int32)">
|
|
<summary> 删除指定索引处的服务。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="index">待删除服务的从零开始的索引。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.Replace(System.Type,System.Object)">
|
|
<summary> 将给定服务类型的所有现有服务替换为给定服务实例。这对于单数和复数服务均适用。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">服务实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ReplaceMultiple(System.Type,System.Object)">
|
|
<summary>将多实例服务的所有实例替换为一个新实例。</summary>
|
|
<param name="serviceType">服务的类型。</param>
|
|
<param name="service">服务实例,将替换此类型的当前服务。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ReplaceRange(System.Type,System.Collections.Generic.IEnumerable{System.Object})">
|
|
<summary> 将给定服务类型的所有现有服务替换为给定服务实例。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="services">服务实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ReplaceSingle(System.Type,System.Object)">
|
|
<summary>替换指定类型的单实例服务。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">服务实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ServicesContainer.ResetCache(System.Type)">
|
|
<summary>删除单个服务类型的缓存值。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.ValueResultConverter`1">
|
|
<summary> 一个转换器,用于根据返回任意 <paramref name="T" /> 值的操作创建响应。</summary>
|
|
<typeparam name="T">操作的已声明返回类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ValueResultConverter`1.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.ValueResultConverter`1" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.ValueResultConverter`1.Convert(System.Web.Http.Controllers.HttpControllerContext,System.Object)">
|
|
<summary>将具有任意返回类型 <paramref name="T" /> 的操作结果转换为 <see cref="T:System.Net.Http.HttpResponseMessage" /> 的实例。</summary>
|
|
<returns>新建的 <see cref="T:System.Net.Http.HttpResponseMessage" /> 对象。</returns>
|
|
<param name="controllerContext">操作控制器上下文。</param>
|
|
<param name="actionResult">执行结果。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Controllers.VoidResultConverter">
|
|
<summary>表示一个用于根据不返回值的操作来创建响应的转换器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.VoidResultConverter.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Controllers.VoidResultConverter" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Controllers.VoidResultConverter.Convert(System.Web.Http.Controllers.HttpControllerContext,System.Object)">
|
|
<summary>转换根据不返回值的操作创建的响应。</summary>
|
|
<returns>已转换的响应。</returns>
|
|
<param name="controllerContext">控制器的上下文。</param>
|
|
<param name="actionResult">操作的结果。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dependencies.IDependencyResolver">
|
|
<summary>表示依赖关系注入容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dependencies.IDependencyResolver.BeginScope">
|
|
<summary> 开始解析范围。</summary>
|
|
<returns>依赖范围。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dependencies.IDependencyScope">
|
|
<summary>表示依赖项范围的接口。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dependencies.IDependencyScope.GetService(System.Type)">
|
|
<summary>从范围中检索服务。</summary>
|
|
<returns>检索到的服务。</returns>
|
|
<param name="serviceType">要检索的服务。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dependencies.IDependencyScope.GetServices(System.Type)">
|
|
<summary>从范围中检索服务集合。</summary>
|
|
<returns>检索到的服务集合。</returns>
|
|
<param name="serviceType">要检索的服务集合。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.ApiDescription">
|
|
<summary> 描述由相对 URI 路径和 HTTP 方法定义的 API。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiDescription.#ctor">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.Description.ApiDescription" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.ActionDescriptor">
|
|
<summary> 获取或设置将处理 API 的操作描述符。</summary>
|
|
<returns> 操作描述符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.Documentation">
|
|
<summary> 获取或设置 API 文档。</summary>
|
|
<returns> 文档。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.HttpMethod">
|
|
<summary> 获取或设置 HTTP 方法。</summary>
|
|
<returns> HTTP 方法。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.ID">
|
|
<summary> 获取 ID。该 ID 在 <see cref="T:System.Web.Http.HttpServer" /> 中是唯一的。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.ParameterDescriptions">
|
|
<summary> 获取参数说明。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.RelativePath">
|
|
<summary> 获取或设置相对路径。</summary>
|
|
<returns> 相对路径。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.Route">
|
|
<summary> 获取或设置 API 的已注册路由。</summary>
|
|
<returns> 路由。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.SupportedRequestBodyFormatters">
|
|
<summary> 获取受支持的请求正文格式化程序。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiDescription.SupportedResponseFormatters">
|
|
<summary> 获取受支持的响应格式化程序。 </summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.ApiExplorer">
|
|
<summary> 基于系统中可用的路由、控制器和操作,浏览服务的 URI 空间。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiExplorer.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.Description.ApiExplorer" /> 类的新实例。</summary>
|
|
<param name="configuration">配置。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions">
|
|
<summary> 获取 API 说明。这些说明将在首次访问时进行初始化。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiExplorer.DocumentationProvider">
|
|
<summary> 获取或设置文档提供程序。该提供程序将负责记录 API。</summary>
|
|
<returns> 文档提供程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiExplorer.GetHttpMethodsSupportedByAction(System.Web.Http.Routing.IHttpRoute,System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary> 获取该操作支持的 HttpMethods 的集合。初始化 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" /> 时调用。</summary>
|
|
<returns>该操作支持的 HttpMethods 的集合。</returns>
|
|
<param name="route">路由。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiExplorer.ShouldExploreAction(System.String,System.Web.Http.Controllers.HttpActionDescriptor,System.Web.Http.Routing.IHttpRoute)">
|
|
<summary> 确定是否应考虑将此操作用于生成 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" />。初始化 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" /> 时调用。</summary>
|
|
<returns>如果应考虑将此操作用于生成 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" />,则为 true,否则为 false。</returns>
|
|
<param name="actionVariableValue">来自路由的操作变量值。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
<param name="route">路由。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiExplorer.ShouldExploreController(System.String,System.Web.Http.Controllers.HttpControllerDescriptor,System.Web.Http.Routing.IHttpRoute)">
|
|
<summary> 确定是否应考虑将此控制器用于生成 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" />。初始化 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" /> 时调用。</summary>
|
|
<returns>如果应考虑将此控制器用于生成 <see cref="P:System.Web.Http.Description.ApiExplorer.ApiDescriptions" />,则为 true,否则为 false。</returns>
|
|
<param name="controllerVariableValue">来自路由的控制器变量值。</param>
|
|
<param name="controllerDescriptor">控制器描述符。</param>
|
|
<param name="route">路由。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.ApiExplorerSettingsAttribute">
|
|
<summary> 此特性可用于控制器和操作以影响 <see cref="T:System.Web.Http.Description.ApiExplorer" /> 的行为。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiExplorerSettingsAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Description.ApiExplorerSettingsAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiExplorerSettingsAttribute.IgnoreApi">
|
|
<summary> 获取或设置一个值,该值指示是否从由 <see cref="T:System.Web.Http.Description.ApiExplorer" /> 生成的 <see cref="T:System.Web.Http.Description.ApiDescription" /> 实例中排除控制器或操作。</summary>
|
|
<returns>如果应忽略控制器或操作,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.ApiParameterDescription">
|
|
<summary> 描述由相对 URI 路径和 HTTP 方法定义的 API 的参数。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.ApiParameterDescription.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Description.ApiParameterDescription" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiParameterDescription.Documentation">
|
|
<summary> 获取或设置文档。</summary>
|
|
<returns> 文档。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiParameterDescription.Name">
|
|
<summary> 获取或设置名称。</summary>
|
|
<returns> 名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiParameterDescription.ParameterDescriptor">
|
|
<summary> 获取或设置参数描述符。</summary>
|
|
<returns> 参数描述符。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.ApiParameterDescription.Source">
|
|
<summary> 获取或设置参数的源。它可能来自请求 URI、请求正文或其他地方。</summary>
|
|
<returns> 源。 </returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.ApiParameterSource">
|
|
<summary> 描述参数的来源。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Description.ApiParameterSource.FromUri">
|
|
<summary>参数来自 Uri。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Description.ApiParameterSource.FromBody">
|
|
<summary>参数来自正文。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Description.ApiParameterSource.Unknown">
|
|
<summary>位置未知。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.IApiExplorer">
|
|
<summary> 定义用于获取 <see cref="T:System.Web.Http.Description.ApiDescription" /> 的集合的接口。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Description.IApiExplorer.ApiDescriptions">
|
|
<summary> 获取 API 说明。 </summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Description.IDocumentationProvider">
|
|
<summary> 定义负责记录服务的提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.IDocumentationProvider.GetDocumentation(System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary> 基于 <see cref="T:System.Web.Http.Controllers.HttpActionDescriptor" /> 获取文档。</summary>
|
|
<returns>控制器的文档。</returns>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Description.IDocumentationProvider.GetDocumentation(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary> 基于 <see cref="T:System.Web.Http.Controllers.HttpParameterDescriptor" /> 获取文档。</summary>
|
|
<returns>控制器的文档。</returns>
|
|
<param name="parameterDescriptor">参数描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.DefaultAssembliesResolver">
|
|
<summary> 提供 <see cref="T:System.Web.Http.Dispatcher.IAssembliesResolver" /> 的实现,而无需外部依赖项。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultAssembliesResolver.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Dispatcher.DefaultAssembliesResolver" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultAssembliesResolver.GetAssemblies">
|
|
<summary> 返回可用于应用程序的程序集的列表。</summary>
|
|
<returns>程序集的 <see cref="T:System.Collections.ObjectModel.Collection`1" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.DefaultHttpControllerActivator">
|
|
<summary>表示 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerActivator" /> 的默认实现。可以通过 <see cref="T:System.Web.Http.Services.DependencyResolver" /> 注册不同的实现。我们已针对每个 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 实例具有一个 <see cref="T:System.Web.Http.Controllers.ApiControllerActionInvoker" /> 实例的情况进行优化,但也支持一个 <see cref="T:System.Web.Http.Controllers.ApiControllerActionInvoker" /> 具有多个 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 实例的情况。对于后一种情况,查找会略慢一些,因为查找需要遍历 <see cref="P:HttpControllerDescriptor.Properties" /> 目录。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerActivator.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Dispatcher.DefaultHttpControllerActivator" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(System.Net.Http.HttpRequestMessage,System.Web.Http.Controllers.HttpControllerDescriptor,System.Type)">
|
|
<summary> 使用给定 <paramref name="request" /> 创建 <paramref name="controllerType" /> 所指定的 <see cref="T:System.Web.Http.Controllers.IHttpController" />。</summary>
|
|
<returns>类型 <paramref name="controllerType" /> 的实例。</returns>
|
|
<param name="request">请求消息。</param>
|
|
<param name="controllerDescriptor">控制器描述符。</param>
|
|
<param name="controllerType">控制器的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.DefaultHttpControllerSelector">
|
|
<summary>表示一个默认 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerSelector" /> 实例,该实例用于根据 <see cref="T:System.Net.Http.HttpRequestMessage" /> 选择 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" />。可以通过 <see cref="P:System.Web.Http.HttpConfiguration.Services" /> 注册不同的实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerSelector.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary> 初始化 <see cref="T:System.Web.Http.Dispatcher.DefaultHttpControllerSelector" /> 类的新实例。</summary>
|
|
<param name="configuration">配置。</param>
|
|
</member>
|
|
<member name="F:System.Web.Http.Dispatcher.DefaultHttpControllerSelector.ControllerSuffix">
|
|
<summary>指定控制器名称中的后缀字符串。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerSelector.GetControllerMapping">
|
|
<summary>返回选择器可以选择的所有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的映射,该映射使用控制器字符串作为键。</summary>
|
|
<returns>选择器可以选择的所有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的映射或 null(如果选择器没有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的已经过良好定义的映射)。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerSelector.GetControllerName(System.Net.Http.HttpRequestMessage)">
|
|
<summary>获取指定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 的控制器的名称。</summary>
|
|
<returns>指定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 的控制器的名称。</returns>
|
|
<param name="request">HTTP 请求消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerSelector.SelectController(System.Net.Http.HttpRequestMessage)">
|
|
<summary>为给定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 选择 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" />。</summary>
|
|
<returns>给定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 的 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 实例。</returns>
|
|
<param name="request">HTTP 请求消息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver">
|
|
<summary> 提供不带有任何外部依赖项的 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerTypeResolver" /> 实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.#ctor(System.Predicate{System.Type})">
|
|
<summary>使用用于筛选控制器类型的谓词初始化新的 <see cref="T:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver" /> 实例。</summary>
|
|
<param name="predicate">谓词。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.GetControllerTypes(System.Web.Http.Dispatcher.IAssembliesResolver)">
|
|
<summary> 返回可用于应用程序的控制器的列表。</summary>
|
|
<returns>控制器的 <see cref="T:System.Collections.Generic.ICollection`1" />。</returns>
|
|
<param name="assembliesResolver">程序集解析程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.IsControllerTypePredicate">
|
|
<summary>获取一个值,该值指示解析程序类型是否是一个控制器类型谓词。</summary>
|
|
<returns>如果解析程序类型是一个控制器类型谓词,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.HttpControllerDispatcher">
|
|
<summary>将传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 调度到 <see cref="T:System.Web.Http.Controllers.IHttpController" /> 实现以进行处理。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.HttpControllerDispatcher.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary>使用指定配置初始化 <see cref="T:System.Web.Http.Dispatcher.HttpControllerDispatcher" /> 类的新实例。</summary>
|
|
<param name="configuration">Http 配置。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Dispatcher.HttpControllerDispatcher.Configuration">
|
|
<summary>获取 HTTP 配置。</summary>
|
|
<returns>HTTP 配置。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)">
|
|
<summary>将传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 调度到 <see cref="T:System.Web.Http.Controllers.IHttpController" />。</summary>
|
|
<returns>表示正在进行的操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
|
|
<param name="request">要调度的请求</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.HttpRoutingDispatcher">
|
|
<summary> 此类是默认终结点消息处理程序,用于检查匹配的路由的 <see cref="T:System.Web.Http.Routing.IHttpRoute" />,并选择要调用哪个消息处理程序。如果 <see cref="P:System.Web.Http.Routing.IHttpRoute.Handler" /> 为 null,则将委托给 <see cref="T:System.Web.Http.Dispatcher.HttpControllerDispatcher" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.HttpRoutingDispatcher.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary> 将所提供的 <see cref="T:System.Web.Http.HttpConfiguration" /> 和 <see cref="T:System.Web.Http.Dispatcher.HttpControllerDispatcher" /> 用作默认处理程序,初始化 <see cref="T:System.Web.Http.Dispatcher.HttpRoutingDispatcher" /> 类的新实例。</summary>
|
|
<param name="configuration">服务器配置。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.HttpRoutingDispatcher.#ctor(System.Web.Http.HttpConfiguration,System.Net.Http.HttpMessageHandler)">
|
|
<summary> 使用所提供的 <see cref="T:System.Web.Http.HttpConfiguration" /> 和 <see cref="T:System.Net.Http.HttpMessageHandler" /> 初始化 <see cref="T:System.Web.Http.Dispatcher.HttpRoutingDispatcher" /> 类的新实例。</summary>
|
|
<param name="configuration">服务器配置。</param>
|
|
<param name="defaultHandler">
|
|
<see cref="T:System.Web.Http.Routing.IHttpRoute" /> 没有 <see cref="P:System.Web.Http.Routing.IHttpRoute.Handler" /> 时要使用的默认处理程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.HttpRoutingDispatcher.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)">
|
|
<summary>以异步操作的形式发送 HTTP 请求。</summary>
|
|
<returns>表示异步操作的任务对象。</returns>
|
|
<param name="request">要发送的 HTTP 请求消息。</param>
|
|
<param name="cancellationToken">用于取消操作的取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.IAssembliesResolver">
|
|
<summary> 提供抽象以管理应用程序的程序集。可以通过 <see cref="T:System.Web.Http.Services.DependencyResolver" /> 注册不同的实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.IAssembliesResolver.GetAssemblies">
|
|
<summary> 返回可用于应用程序的程序集的列表。</summary>
|
|
<returns>程序集的 <see cref="T:System.Collections.Generic.ICollection`1" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.IHttpControllerActivator">
|
|
<summary>定义 <see cref="T:System.Web.Http.Dispatcher.IHttpControllerActivator" /> 所需的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.IHttpControllerActivator.Create(System.Net.Http.HttpRequestMessage,System.Web.Http.Controllers.HttpControllerDescriptor,System.Type)">
|
|
<summary>创建一个 <see cref="T:System.Web.Http.Controllers.IHttpController" /> 对象。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Controllers.IHttpController" /> 对象。</returns>
|
|
<param name="request">消息请求。</param>
|
|
<param name="controllerDescriptor">HTTP 控制器描述符。</param>
|
|
<param name="controllerType">控制器的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.IHttpControllerSelector">
|
|
<summary> 定义 <see cref="T:System.Web.Http.Controllers.IHttpController" /> 工厂所需的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.IHttpControllerSelector.GetControllerMapping">
|
|
<summary> 返回选择器可以选择的所有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的映射,该映射使用控制器字符串作为键。此方法主要由 <see cref="T:System.Web.Http.Description.IApiExplorer" /> 调用,以发现系统中的所有可能的控制器。</summary>
|
|
<returns>选择器可以选择的所有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的映射或 null(如果选择器没有 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 的已经过良好定义的映射)。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.IHttpControllerSelector.SelectController(System.Net.Http.HttpRequestMessage)">
|
|
<summary> 为给定 <see cref="T:System.Net.Http.HttpRequestMessage" /> 选择 <see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" />。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor" /> 实例。</returns>
|
|
<param name="request">请求消息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Dispatcher.IHttpControllerTypeResolver">
|
|
<summary> 提供抽象以管理应用程序的控制器类型。可以通过 DependencyResolver 注册不同的实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Dispatcher.IHttpControllerTypeResolver.GetControllerTypes(System.Web.Http.Dispatcher.IAssembliesResolver)">
|
|
<summary> 返回可用于应用程序的控制器的列表。</summary>
|
|
<returns>控制器的 <see cref="T:System.Collections.Generic.ICollection`1" />。</returns>
|
|
<param name="assembliesResolver">失败的程序集的解析程序。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.ActionDescriptorFilterProvider">
|
|
<summary>提供有关操作方法的信息,如操作方法的名称、控制器、参数、特性和筛选器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionDescriptorFilterProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.ActionDescriptorFilterProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionDescriptorFilterProvider.GetFilters(System.Web.Http.HttpConfiguration,System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>返回与此操作方法关联的筛选器。</summary>
|
|
<returns>与此操作方法关联的筛选器。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.ActionFilterAttribute">
|
|
<summary>表示所有操作筛选器特性的基类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionFilterAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.ActionFilterAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionFilterAttribute.OnActionExecuted(System.Web.Http.Filters.HttpActionExecutedContext)">
|
|
<summary>在调用操作方法之后发生。</summary>
|
|
<param name="actionExecutedContext">操作执行的上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionFilterAttribute.OnActionExecuting(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>在调用操作方法之前发生。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ActionFilterAttribute.System#Web#Http#Filters#IActionFilter#ExecuteActionFilterAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken,System.Func{System.Threading.Tasks.Task{System.Net.Http.HttpResponseMessage}})">
|
|
<summary>异步执行筛选器操作。</summary>
|
|
<returns>为此操作新建的任务。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">为此任务分配的取消标记。</param>
|
|
<param name="continuation">在调用操作方法之后,委托函数将继续。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.AuthorizationFilterAttribute">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.AuthorizationFilterAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.AuthorizationFilterAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.AuthorizationFilterAttribute.OnAuthorization(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>在过程请求授权时调用。</summary>
|
|
<param name="actionContext">操作上下文,它封装有关使用 <see cref="T:System.Web.Http.Filters.AuthorizationFilterAttribute" /> 的信息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.AuthorizationFilterAttribute.System#Web#Http#Filters#IAuthorizationFilter#ExecuteAuthorizationFilterAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken,System.Func{System.Threading.Tasks.Task{System.Net.Http.HttpResponseMessage}})">
|
|
<summary>在同步过程中执行授权筛选器。</summary>
|
|
<returns>同步过程中的授权筛选器。</returns>
|
|
<param name="actionContext">操作上下文,它封装有关使用 <see cref="T:System.Web.Http.Filters.AuthorizationFilterAttribute" /> 的信息。</param>
|
|
<param name="cancellationToken">用于取消操作的取消标记。</param>
|
|
<param name="continuation">操作的继续。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.ConfigurationFilterProvider">
|
|
<summary>表示配置筛选器提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ConfigurationFilterProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.ConfigurationFilterProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ConfigurationFilterProvider.GetFilters(System.Web.Http.HttpConfiguration,System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>返回与此配置方法关联的筛选器。</summary>
|
|
<returns>与此配置方法关联的筛选器。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.ExceptionFilterAttribute">
|
|
<summary>表示异常筛选器的特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ExceptionFilterAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.ExceptionFilterAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ExceptionFilterAttribute.OnException(System.Web.Http.Filters.HttpActionExecutedContext)">
|
|
<summary>引发异常事件。</summary>
|
|
<param name="actionExecutedContext">操作的上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.ExceptionFilterAttribute.System#Web#Http#Filters#IExceptionFilter#ExecuteExceptionFilterAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
|
<summary>异步执行异常筛选器。</summary>
|
|
<returns>执行的结果。</returns>
|
|
<param name="actionExecutedContext">操作的上下文。</param>
|
|
<param name="cancellationToken">取消上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.FilterAttribute">
|
|
<summary>表示操作-筛选器特性的基类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.FilterAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.FilterAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.FilterAttribute.AllowMultiple">
|
|
<summary>获取用于指示是否允许多个筛选器的值。</summary>
|
|
<returns>如果允许多个筛选器,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.FilterInfo">
|
|
<summary>提供有关可用的操作筛选器的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.FilterInfo.#ctor(System.Web.Http.Filters.IFilter,System.Web.Http.Filters.FilterScope)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.FilterInfo" /> 类的新实例。</summary>
|
|
<param name="instance">此类的实例。</param>
|
|
<param name="scope">此类的范围。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.FilterInfo.Instance">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.Filters.FilterInfo" /> 的实例。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Filters.FilterInfo" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.FilterInfo.Scope">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.Filters.FilterInfo" /> 的范围。</summary>
|
|
<returns>FilterInfo 的范围。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.FilterScope">
|
|
<summary>定义值,这些值指定筛选器在同一筛选器类型和筛选器顺序内的运行顺序。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Filters.FilterScope.Global">
|
|
<summary>在 Controller 之前指定一个操作。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Filters.FilterScope.Controller">
|
|
<summary>在 Action 之前和 Global 之后指定一个顺序。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Filters.FilterScope.Action">
|
|
<summary>在 Controller 之后指定一个顺序。 </summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.HttpActionExecutedContext">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpActionExecutedContext.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.HttpActionExecutedContext" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpActionExecutedContext.#ctor(System.Web.Http.Controllers.HttpActionContext,System.Exception)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.HttpActionExecutedContext" /> 类的新实例。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.HttpActionExecutedContext.ActionContext">
|
|
<summary>获取或设置 HTTP 操作上下文。</summary>
|
|
<returns>HTTP 操作上下文。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.HttpActionExecutedContext.Exception">
|
|
<summary>获取或设置在执行期间引发的异常。</summary>
|
|
<returns>在执行期间引发的异常。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.HttpActionExecutedContext.Request">
|
|
<summary>获取上下文的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 对象。</summary>
|
|
<returns>上下文的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 对象。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.HttpActionExecutedContext.Response">
|
|
<summary>获取或设置上下文的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</summary>
|
|
<returns>上下文的 <see cref="T:System.Net.Http.HttpResponseMessage" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.HttpFilterCollection">
|
|
<summary>表示 HTTP 筛选器的集合。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Filters.HttpFilterCollection" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.Add(System.Web.Http.Filters.IFilter)">
|
|
<summary>在集合的末尾添加一个项。</summary>
|
|
<param name="filter">要添加到集合中的项。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.Clear">
|
|
<summary>移除集合中的所有项。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.Contains(System.Web.Http.Filters.IFilter)">
|
|
<summary>确定集合是否包含指定的项。</summary>
|
|
<returns>如果集合包含指定项,则为 true;否则为 false。</returns>
|
|
<param name="filter">要检查的项。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.HttpFilterCollection.Count">
|
|
<summary>获取集合中的元素数。</summary>
|
|
<returns>集合中的元素数。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.GetEnumerator">
|
|
<summary>获取循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的枚举器对象。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.Remove(System.Web.Http.Filters.IFilter)">
|
|
<summary>从集合中删除指定项。</summary>
|
|
<param name="filter">要在集合中删除的项。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.HttpFilterCollection.System#Collections#IEnumerable#GetEnumerator">
|
|
<summary>获取循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的枚举器对象。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.IActionFilter">
|
|
<summary>定义操作筛选器中使用的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.IActionFilter.ExecuteActionFilterAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken,System.Func{System.Threading.Tasks.Task{System.Net.Http.HttpResponseMessage}})">
|
|
<summary>异步执行筛选器操作。</summary>
|
|
<returns>为此操作新建的任务。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">为此任务分配的取消标记。</param>
|
|
<param name="continuation">在调用操作方法之后,委托函数将继续。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.IAuthorizationFilter">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.IAuthorizationFilter.ExecuteAuthorizationFilterAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken,System.Func{System.Threading.Tasks.Task{System.Net.Http.HttpResponseMessage}})">
|
|
<summary>执行要同步的授权筛选器。</summary>
|
|
<returns>要同步的授权筛选器。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">与筛选器关联的取消标记。</param>
|
|
<param name="continuation">继续。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.IExceptionFilter">
|
|
<summary>定义异常筛选器所需的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.IExceptionFilter.ExecuteExceptionFilterAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
|
<summary>执行异步异常筛选器。</summary>
|
|
<returns>异步异常筛选器。</returns>
|
|
<param name="actionExecutedContext">操作执行的上下文。</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.IFilter">
|
|
<summary>指定一个服务器端组件,索引系统将使用该组件为文件格式与 IFilter 关联的文档编写索引。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Filters.IFilter.AllowMultiple">
|
|
<summary>获取或设置一个值,该值指示是否可以为单个程序元素指定多个已指示特性的实例。</summary>
|
|
<returns>如果可以指定多个实例,则为 true;否则为 false。默认值为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Filters.IFilterProvider">
|
|
<summary>提供筛选器信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Filters.IFilterProvider.GetFilters(System.Web.Http.HttpConfiguration,System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>返回筛选器的枚举。</summary>
|
|
<returns>筛选器的枚举。</returns>
|
|
<param name="configuration">HTTP 配置。</param>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Hosting.HttpPropertyKeys">
|
|
<summary>为 <see cref="P:System.Net.Http.HttpRequestMessage.Properties" /> 中存储的属性提供公共键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.ClientCertificateKey">
|
|
<summary>为此请求的客户端证书提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.DependencyScope">
|
|
<summary> 为与此请求关联的 <see cref="T:System.Web.Http.Dependencies.IDependencyScope" /> 提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.DisposableRequestResourcesKey">
|
|
<summary> 为处理请求后应释放的资源的集合提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.HttpConfigurationKey">
|
|
<summary> 为与此请求关联的 <see cref="T:System.Web.Http.HttpConfiguration" /> 提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.HttpRouteDataKey">
|
|
<summary> 为与此请求关联的 <see cref="T:System.Web.Http.Routing.IHttpRouteData" /> 提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.IncludeErrorDetailKey">
|
|
<summary>提供一个键,该键指示是否要将错误详细信息包含在此 HTTP 请求的响应中。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.IsLocalKey">
|
|
<summary>提供一个指示请求是否源自本地地址的键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.RequestCorrelationKey">
|
|
<summary> 为 <see cref="P:System.Net.Http.HttpRequestMessage.Properties" /> 中存储的 <see cref="T:System.Guid" /> 提供一个键。这是该请求的相关 ID。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.RequestQueryNameValuePairsKey">
|
|
<summary>为 <see cref="P:System.Net.Http.HttpRequestMessage.Properties" /> 中存储的已分析查询字符串提供一个键。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.RetrieveClientCertificateDelegateKey">
|
|
<summary>为委托提供一个键,该委托可以检索此请求的客户端证书。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Hosting.HttpPropertyKeys.SynchronizationContextKey">
|
|
<summary> 为 <see cref="M:HttpRequestMessage.Properties" /> 中存储的当前 <see cref="T:System.Threading.SynchronizationContext" /> 提供一个键。如果 <see cref="M:SynchronizationContext.Current" /> 为 null,则不存储上下文。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Hosting.IHostBufferPolicySelector">
|
|
<summary> 接口,用于控制主机中缓冲请求和响应的使用。如果主机为缓冲请求和/或响应提供支持,则它可以使用此接口来确定使用缓冲的时间策略。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Hosting.IHostBufferPolicySelector.UseBufferedInputStream(System.Object)">
|
|
<summary>确定主机是否应缓冲 <see cref="T:System.Net.Http.HttpRequestMessage" /> 实体正文。</summary>
|
|
<returns>如果应使用缓冲,则为 true;否则,应使用已流式处理的请求。</returns>
|
|
<param name="hostContext">主机上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Hosting.IHostBufferPolicySelector.UseBufferedOutputStream(System.Net.Http.HttpResponseMessage)">
|
|
<summary>确定主机是否应缓冲 <see cref="T.System.Net.Http.HttpResponseMessage" /> 实体正文。</summary>
|
|
<returns>如果应使用缓冲,则为 true;否则,应使用已流式处理的响应。</returns>
|
|
<param name="response">HTTP 响应消息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.ModelMetadata">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadata.#ctor(System.Web.Http.Metadata.ModelMetadataProvider,System.Type,System.Func{System.Object},System.Type,System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.ModelMetadata" /> 类的新实例。</summary>
|
|
<param name="provider">提供程序。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.AdditionalValues">
|
|
<summary>获取包含有关模型的其他元数据的字典。</summary>
|
|
<returns>包含有关模型的其他元数据的字典。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.ContainerType">
|
|
<summary>获取或设置模型的容器的类型。</summary>
|
|
<returns>模型的容器的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.ConvertEmptyStringToNull">
|
|
<summary>获取或设置一个值,该值指示在窗体中回发的空字符串是否应转换为 null。</summary>
|
|
<returns>如果在窗体中回发的空字符串应转换为 null,则为 true;否则为 false。默认值为 true。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.Description">
|
|
<summary>获取或设置模型的说明。</summary>
|
|
<returns>模型的说明。默认值为 null。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadata.GetDisplayName">
|
|
<summary>获取模型的显示名称。</summary>
|
|
<returns>模型的显示名称。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadata.GetValidators(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>获取模型的验证程序的列表。</summary>
|
|
<returns>模型的验证程序的列表。</returns>
|
|
<param name="validatorProviders">模型的验证程序提供程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.IsComplexType">
|
|
<summary>获取或设置一个值,该值指示模型是否为复杂类型。</summary>
|
|
<returns>一个值,该值指示是否将模型视为复杂模型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.IsNullableValueType">
|
|
<summary>获取一个值,该值指示类型是否可为 null。</summary>
|
|
<returns>如果该类型可为 null,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.IsReadOnly">
|
|
<summary>获取或设置一个值,该值指示模型是否为只读。</summary>
|
|
<returns>如果该模型为只读,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.Model">
|
|
<summary>获取模型的值。</summary>
|
|
<returns>模型值可以为 null。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.ModelType">
|
|
<summary>获取模型的类型。</summary>
|
|
<returns>模型的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.Properties">
|
|
<summary>获取模型元数据对象的集合,这些对象描述模型的属性。</summary>
|
|
<returns>用于描述模型属性的模型元数据对象的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.PropertyName">
|
|
<summary>获取属性名称。</summary>
|
|
<returns>属性名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.ModelMetadata.Provider">
|
|
<summary>获取或设置提供程序。</summary>
|
|
<returns>提供程序。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.ModelMetadataProvider">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadataProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadataProvider.GetMetadataForProperties(System.Object,System.Type)">
|
|
<summary>获取模型的每个属性所对应的 ModelMetadata 对象。</summary>
|
|
<returns>模型的每个属性所对应的 ModelMetadata 对象。</returns>
|
|
<param name="container">容器。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadataProvider.GetMetadataForProperty(System.Func{System.Object},System.Type,System.String)">
|
|
<summary>获取指定属性的元数据。</summary>
|
|
<returns>指定的属性的元数据模型。</returns>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="propertyName">要获取其元数据模型的属性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.ModelMetadataProvider.GetMetadataForType(System.Func{System.Object},System.Type)">
|
|
<summary>获取指定模型访问器和模型类型的元数据。</summary>
|
|
<returns>元数据。</returns>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
<param name="modelType">模式的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1">
|
|
<summary>提供用于实现元数据提供程序的抽象类。</summary>
|
|
<typeparam name="TModelMetadata">模型元数据的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.CreateMetadataFromPrototype(`0,System.Func{System.Object})">
|
|
<summary>在派生类中重写时,使用指定的原型创建属性的模型元数据。</summary>
|
|
<returns>属性的模型元数据。</returns>
|
|
<param name="prototype">创建模型元数据时所基于的原型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.CreateMetadataPrototype(System.Collections.Generic.IEnumerable{System.Attribute},System.Type,System.Type,System.String)">
|
|
<summary>在派生类中重写时,创建属性的模型元数据。</summary>
|
|
<returns>属性的模型元数据。</returns>
|
|
<param name="attributes">特性集。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.GetMetadataForProperties(System.Object,System.Type)">
|
|
<summary>检索模型的属性列表。</summary>
|
|
<returns>模型的属性列表。</returns>
|
|
<param name="container">模型容器。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.GetMetadataForProperty(System.Func{System.Object},System.Type,System.String)">
|
|
<summary>使用容器类型和属性名称检索指定属性的元数据。</summary>
|
|
<returns>指定的属性的元数据。</returns>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.AssociatedMetadataProvider`1.GetMetadataForType(System.Func{System.Object},System.Type)">
|
|
<summary>使用模型类型返回指定属性的元数据。</summary>
|
|
<returns>指定的属性的元数据。</returns>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
<param name="modelType">容器的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes">
|
|
<summary>为 <see cref="T:System.Web.Http.Metadata.Providers.CachedModelMetadata`1" /> 提供原型缓存数据。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes.#ctor(System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes" /> 类的新实例。</summary>
|
|
<param name="attributes">提供用于初始化的数据的特性。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes.Display">
|
|
<summary>获取或设置元数据显示特性。</summary>
|
|
<returns>元数据显示特性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes.DisplayFormat">
|
|
<summary>获取或设置元数据显示格式特性。</summary>
|
|
<returns>元数据显示格式特性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes.Editable">
|
|
<summary>获取或设置元数据可编辑特性。</summary>
|
|
<returns>元数据可编辑特性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedDataAnnotationsMetadataAttributes.ReadOnly">
|
|
<summary>获取或设置元数据只读特性。</summary>
|
|
<returns>元数据只读特性。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata">
|
|
<summary>为公共元数据、<see cref="T:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider" /> 类和数据模型提供容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata.#ctor(System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata,System.Func{System.Object})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata" /> 类的新实例。</summary>
|
|
<param name="prototype">用于初始化模型元数据的原型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata.#ctor(System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider,System.Type,System.Type,System.String,System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata" /> 类的新实例。</summary>
|
|
<param name="provider">元数据提供程序。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
<param name="attributes">提供用于初始化的数据的特性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata.ComputeConvertEmptyStringToNull">
|
|
<summary>检索一个值,该值指示是否应将在窗体中回发的空字符串转换为 null。</summary>
|
|
<returns>如果在窗体中回发的空字符串应转换为 null,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata.ComputeDescription">
|
|
<summary>检索模型的说明。</summary>
|
|
<returns>模型的说明。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata.ComputeIsReadOnly">
|
|
<summary>检索一个值,该值指示模型是否为只读。</summary>
|
|
<returns>如果该模型为只读,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.CachedModelMetadata`1">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
<typeparam name="TPrototypeCache">原型缓存的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.#ctor(System.Web.Http.Metadata.Providers.CachedModelMetadata{`0},System.Func{System.Object})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.CachedModelMetadata`1" /> 类的新实例。</summary>
|
|
<param name="prototype">原型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.#ctor(System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider,System.Type,System.Type,System.String,`0)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.CachedModelMetadata`1" /> 类的新实例。</summary>
|
|
<param name="provider">提供程序。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
<param name="prototypeCache">原型缓存。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.ComputeConvertEmptyStringToNull">
|
|
<summary>指示是否应计算在窗体中回发的空字符串并将其转换为 null。</summary>
|
|
<returns>如果应计算在窗体中回发的空字符串并将其转换为 null,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.ComputeDescription">
|
|
<summary>指示计算值。</summary>
|
|
<returns>计算值。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.ComputeIsComplexType">
|
|
<summary>获取一个值,该值指示模型是否为复杂类型。</summary>
|
|
<returns>一个值,指示 Web API 框架是否将模型视为复杂类型。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.ComputeIsReadOnly">
|
|
<summary>获取一个值,该值指示要计算的模型是否为只读。</summary>
|
|
<returns>如果要计算的模型为只读,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.ConvertEmptyStringToNull">
|
|
<summary>获取或设置一个值,该值指示在窗体中回发的空字符串是否应转换为 null。</summary>
|
|
<returns>如果在窗体中回发的空字符串应转换为 null,则为 true;否则为 false。默认值为 true。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.Description">
|
|
<summary>获取或设置模型的说明。</summary>
|
|
<returns>模型的说明。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.IsComplexType">
|
|
<summary>获取一个值,该值指示模型是否为复杂类型。</summary>
|
|
<returns>一个值,指示 Web API 框架是否将模型视为复杂类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.IsReadOnly">
|
|
<summary>获取或设置一个值,该值指示模型是否为只读。</summary>
|
|
<returns>如果该模型为只读,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Metadata.Providers.CachedModelMetadata`1.PrototypeCache">
|
|
<summary>获取或设置一个值,该值指示是否正在更新原型缓存。</summary>
|
|
<returns>如果正在更新原型缓存,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider">
|
|
<summary>实现默认模型元数据提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider.CreateMetadataFromPrototype(System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadata,System.Func{System.Object})">
|
|
<summary>从指定属性的原型创建元数据。</summary>
|
|
<returns>属性的元数据。</returns>
|
|
<param name="prototype">原型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.DataAnnotationsModelMetadataProvider.CreateMetadataPrototype(System.Collections.Generic.IEnumerable{System.Attribute},System.Type,System.Type,System.String)">
|
|
<summary>为指定的属性创建元数据。</summary>
|
|
<returns>属性的元数据。</returns>
|
|
<param name="attributes">特性。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider.CreateMetadataFromPrototype(System.Web.Http.Metadata.ModelMetadata,System.Func{System.Object})">
|
|
<summary>从原型创建元数据。</summary>
|
|
<returns>元数据。</returns>
|
|
<param name="prototype">模型元数据原型。</param>
|
|
<param name="modelAccessor">模型访问器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider.CreateMetadataPrototype(System.Collections.Generic.IEnumerable{System.Attribute},System.Type,System.Type,System.String)">
|
|
<summary>创建 <see cref="T:System.Web.Http.Metadata.Providers.EmptyModelMetadataProvider" /> 的元数据提供程序的原型。</summary>
|
|
<returns>元数据提供程序的原型。</returns>
|
|
<param name="attributes">特性。</param>
|
|
<param name="containerType">容器的类型。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
<param name="propertyName">属性的名称。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.CancellationTokenParameterBinding">
|
|
<summary>表示直接绑定到取消标记的绑定。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.CancellationTokenParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.CancellationTokenParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">绑定描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.CancellationTokenParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>在同步过程中执行绑定。</summary>
|
|
<returns>同步过程中的绑定。</returns>
|
|
<param name="metadataProvider">元数据提供程序。</param>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">取消操作后的通知。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.CustomModelBinderAttribute">
|
|
<summary>表示一个调用自定义模型联编程序的特性。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.CustomModelBinderAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.CustomModelBinderAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.CustomModelBinderAttribute.GetBinder">
|
|
<summary>检索关联的模型联编程序。</summary>
|
|
<returns>对实现 <see cref="T:System.Web.Http.ModelBinding.IModelBinder" /> 接口的对象的引用。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.DefaultActionValueBinder">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.DefaultActionValueBinder.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.DefaultActionValueBinder" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.DefaultActionValueBinder.GetBinding(System.Web.Http.Controllers.HttpActionDescriptor)">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.Controllers.IActionValueBinder" /> 接口的默认实现。此接口是绑定操作参数的主入口点。</summary>
|
|
<returns>与 <see cref="T:System.Web.Http.ModelBinding.DefaultActionValueBinder" /> 关联的 <see cref="T:System.Web.Http.Controllers.HttpActionBinding" />。</returns>
|
|
<param name="actionDescriptor">操作描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.DefaultActionValueBinder.GetParameterBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>获取与 <see cref="T:System.Web.Http.ModelBinding.DefaultActionValueBinder" /> 关联的 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" />。</summary>
|
|
<returns>与 <see cref="T:System.Web.Http.ModelBinding.DefaultActionValueBinder" /> 关联的 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" />。</returns>
|
|
<param name="parameter">参数描述符。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ErrorParameterBinding">
|
|
<summary>定义绑定错误。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ErrorParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor,System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ErrorParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">错误描述符。</param>
|
|
<param name="message">消息。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ErrorParameterBinding.ErrorMessage">
|
|
<summary>获取错误消息。</summary>
|
|
<returns>错误消息。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ErrorParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>在同步过程中执行绑定方法。</summary>
|
|
<param name="metadataProvider">元数据提供程序。</param>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">取消标记值。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.FormatterParameterBinding">
|
|
<summary>表示将从正文读取并调用格式化程序的参数绑定。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormatterParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter},System.Web.Http.Validation.IBodyModelValidator)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.FormatterParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">描述符。</param>
|
|
<param name="formatters">格式化程序。</param>
|
|
<param name="bodyModelValidator">正文模型验证程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.FormatterParameterBinding.BodyModelValidator">
|
|
<summary>获取或设置正文模型验证程序的接口。</summary>
|
|
<returns>正文模型验证程序的接口。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.FormatterParameterBinding.ErrorMessage">
|
|
<summary>获取错误消息。</summary>
|
|
<returns>错误消息。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormatterParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>异步执行 <see cref="T:System.Web.Http.ModelBinding.FormatterParameterBinding" /> 的绑定。</summary>
|
|
<returns>操作的结果。</returns>
|
|
<param name="metadataProvider">元数据提供程序。</param>
|
|
<param name="actionContext">与操作关联的上下文。</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.FormatterParameterBinding.Formatters">
|
|
<summary>获取或设置一个可枚举对象,该对象表示用于参数绑定的格式化程序。</summary>
|
|
<returns>一个可枚举对象,该对象表示用于参数绑定的格式化程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(System.Net.Http.HttpRequestMessage,System.Type,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter},System.Net.Http.Formatting.IFormatterLogger)">
|
|
<summary>异步读取 <see cref="T:System.Web.Http.ModelBinding.FormatterParameterBinding" /> 的内容。</summary>
|
|
<returns>操作的结果。</returns>
|
|
<param name="request">请求。</param>
|
|
<param name="type">类型。</param>
|
|
<param name="formatters">格式化程序。</param>
|
|
<param name="formatterLogger">格式记录程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.FormatterParameterBinding.WillReadBody">
|
|
<summary>获取 <see cref="T:System.Web.Http.ModelBinding.FormatterParameterBinding" /> 是否将读取正文。</summary>
|
|
<returns>如果 <see cref="T:System.Web.Http.ModelBinding.FormatterParameterBinding" /> 将读取正文,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.FormDataCollectionExtensions">
|
|
<summary>表示窗体数据集合的扩展。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormDataCollectionExtensions.ReadAs``1(System.Net.Http.Formatting.FormDataCollection)">
|
|
<summary>读取具有指定类型的集合扩展。</summary>
|
|
<returns>读取集合扩展。</returns>
|
|
<param name="formData">窗体数据。</param>
|
|
<typeparam name="T">泛型类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormDataCollectionExtensions.ReadAs``1(System.Net.Http.Formatting.FormDataCollection,System.String,System.Net.Http.Formatting.IRequiredMemberSelector,System.Net.Http.Formatting.IFormatterLogger)">
|
|
<summary>读取具有指定类型的集合扩展。</summary>
|
|
<returns>集合扩展。</returns>
|
|
<param name="formData">窗体数据。</param>
|
|
<param name="modelName">模型的名称。</param>
|
|
<param name="requiredMemberSelector">所需的成员选择器。</param>
|
|
<param name="formatterLogger">格式化程序记录程序。</param>
|
|
<typeparam name="T">泛型类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormDataCollectionExtensions.ReadAs(System.Net.Http.Formatting.FormDataCollection,System.Type)">
|
|
<summary>读取具有指定类型的集合扩展。</summary>
|
|
<returns>具有指定类型的集合扩展。</returns>
|
|
<param name="formData">窗体数据。</param>
|
|
<param name="type">对象的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.FormDataCollectionExtensions.ReadAs(System.Net.Http.Formatting.FormDataCollection,System.Type,System.String,System.Net.Http.Formatting.IRequiredMemberSelector,System.Net.Http.Formatting.IFormatterLogger)">
|
|
<summary>读取具有指定类型和模型名称的集合扩展。</summary>
|
|
<returns>集合扩展。</returns>
|
|
<param name="formData">窗体数据。</param>
|
|
<param name="type">对象的类型。</param>
|
|
<param name="modelName">模型的名称。</param>
|
|
<param name="requiredMemberSelector">所需的成员选择器。</param>
|
|
<param name="formatterLogger">格式化程序记录程序。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.HttpBindingBehavior">
|
|
<summary>枚举 HTTP 绑定的行为。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.ModelBinding.HttpBindingBehavior.Optional">
|
|
<summary>可选绑定行为。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.ModelBinding.HttpBindingBehavior.Never">
|
|
<summary>绝不使用 HTTP 绑定。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.ModelBinding.HttpBindingBehavior.Required">
|
|
<summary>HTTP 绑定是必需的。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.HttpBindingBehaviorAttribute">
|
|
<summary>提供模型绑定行为特性的基类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.HttpBindingBehaviorAttribute.#ctor(System.Web.Http.ModelBinding.HttpBindingBehavior)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.HttpBindingBehaviorAttribute" /> 类的新实例。</summary>
|
|
<param name="behavior">行为。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.HttpBindingBehaviorAttribute.Behavior">
|
|
<summary>获取或设置行为类别。</summary>
|
|
<returns>行为类别。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.HttpBindingBehaviorAttribute.TypeId">
|
|
<summary>获取此特性的唯一标识符。</summary>
|
|
<returns>此特性的 ID。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.HttpRequestParameterBinding">
|
|
<summary>将参数绑定到请求。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.HttpRequestParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.HttpRequestParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">参数描述符。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.HttpRequestParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>以异步方式执行参数绑定。</summary>
|
|
<returns>绑定的参数。</returns>
|
|
<param name="metadataProvider">元数据提供程序。</param>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="cancellationToken">取消标记。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.IModelBinder">
|
|
<summary>定义模型联编程序所需的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.IModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的控制器上下文和绑定上下文将模型绑定到一个值。</summary>
|
|
<returns>绑定值。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.IValueProviderParameterBinding">
|
|
<summary>表示参数绑定的值提供程序。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.IValueProviderParameterBinding.ValueProviderFactories">
|
|
<summary>获取此参数绑定所使用的 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 实例。</summary>
|
|
<returns>此参数绑定所使用的 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 实例。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter">
|
|
<summary>表示 <see cref="T:System.Net.Http.Formatting.MediaTypeFormatter" /> 类,用于处理以 HTML 窗体 URL 结尾的数据(也称为 application/x-www-form-urlencoded)。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter.CanReadType(System.Type)">
|
|
<summary> 确定此 <see cref="T:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter" /> 是否可以读取指定 <paramref name="type" /> 的对象。</summary>
|
|
<returns>如果可以读取此类型的对象,则为 true;否则为 false。</returns>
|
|
<param name="type">将要读取的对象的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter.ReadFromStreamAsync(System.Type,System.IO.Stream,System.Net.Http.HttpContent,System.Net.Http.Formatting.IFormatterLogger)">
|
|
<summary>从指定流中读取指定 <paramref name="type" /> 的对象。在反序列化期间调用此方法。</summary>
|
|
<returns>一个 <see cref="T:System.Threading.Tasks.Task" />,其结果将是已读取的对象实例。</returns>
|
|
<param name="type">要读取的对象的类型。</param>
|
|
<param name="readStream">要从中读取的 <see cref="T:System.IO.Stream" />。</param>
|
|
<param name="content">要读取的内容。</param>
|
|
<param name="formatterLogger">要将事件记录到的 <see cref="T:System.Net.Http.Formatting.IFormatterLogger" />。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBinderAttribute">
|
|
<summary> 指定此参数使用模型联编程序。这可以有选择性地指定特定模型联编程序和驱动该模型联编程序的值提供程序。派生的特性可以为模型联编程序或值提供程序提供方便的设置。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBinderAttribute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.#ctor(System.Type)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBinderAttribute" /> 类的新实例。</summary>
|
|
<param name="binderType">模型联编程序的类型。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderAttribute.BinderType">
|
|
<summary>获取或设置模型联编程序的类型。</summary>
|
|
<returns>模型联编程序的类型。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.GetBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary>获取参数绑定。</summary>
|
|
<returns>包含绑定的 <see cref="T:System.Web.Http.Controllers.HttpParameterBinding" />。</returns>
|
|
<param name="parameter">要绑定的参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.GetModelBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary> 获取此类型的 IModelBinder。</summary>
|
|
<returns> 非 null 模型联编程序。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">联编程序应绑定的模型类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.GetModelBinderProvider(System.Web.Http.HttpConfiguration)">
|
|
<summary>获取模型联编程序提供程序。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 实例。</returns>
|
|
<param name="configuration">
|
|
<see cref="T:System.Web.Http.HttpConfiguration" /> 配置对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderAttribute.GetValueProviderFactories(System.Web.Http.HttpConfiguration)">
|
|
<summary> 获取将向模型联编程序提供的值提供程序。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 实例的集合。</returns>
|
|
<param name="configuration">
|
|
<see cref="T:System.Web.Http.HttpConfiguration" /> 配置对象。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderAttribute.Name">
|
|
<summary>获取或设置要在模型绑定期间视为参数名称的名称。</summary>
|
|
<returns>要考虑的参数名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderAttribute.SuppressPrefixCheck">
|
|
<summary>获取或设置一个值,该值指定是否应取消前缀检查。</summary>
|
|
<returns>如果应取消前缀检查,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBinderConfig">
|
|
<summary>为模型联编程序配置提供一个容器。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderConfig.ResourceClassKey">
|
|
<summary>获取或设置包含本地化字符串值的资源文件的名称(类键)。</summary>
|
|
<returns>资源文件的名称(类键)。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderConfig.TypeConversionErrorMessageProvider">
|
|
<summary>获取或设置类型转换错误消息的当前提供程序。</summary>
|
|
<returns>类型转换错误消息的当前提供程序。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderConfig.ValueRequiredErrorMessageProvider">
|
|
<summary>获取或设置必填值错误消息的当前提供程序。</summary>
|
|
<returns>错误消息提供程序。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBinderErrorMessageProvider">
|
|
<summary>为模型联编程序错误消息提供程序提供一个容器。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBinderParameterBinding">
|
|
<summary> 描述通过 ModelBinding 绑定的参数。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderParameterBinding.#ctor(System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.ModelBinding.IModelBinder,System.Collections.Generic.IEnumerable{System.Web.Http.ValueProviders.ValueProviderFactory})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBinderParameterBinding" /> 类的新实例。</summary>
|
|
<param name="descriptor">参数描述符。</param>
|
|
<param name="modelBinder">模型联编程序。</param>
|
|
<param name="valueProviderFactories">值提供程序工厂的集合。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderParameterBinding.Binder">
|
|
<summary>获取模型联编程序。</summary>
|
|
<returns>模型联编程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
|
<summary>以异步方式通过模型联编程序执行参数绑定。</summary>
|
|
<returns>绑定完成时将通知的任务。</returns>
|
|
<param name="metadataProvider">要用于验证的元数据提供程序。</param>
|
|
<param name="actionContext">绑定的操作上下文。</param>
|
|
<param name="cancellationToken">为此任务分配的用于取消绑定操作的取消标记。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBinderParameterBinding.ValueProviderFactories">
|
|
<summary>获取值提供程序工厂的集合。</summary>
|
|
<returns>值提供程序工厂的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBinderProvider">
|
|
<summary>为模型联编程序提供程序提供抽象基类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>查找给定类型的联编程序。</summary>
|
|
<returns>一个联编程序,该程序可能尝试绑定此类型。或者如果此联编程序静态了解到它将无法绑定该类型,则为 null。</returns>
|
|
<param name="configuration">配置对象。</param>
|
|
<param name="modelType">要绑定的模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelBindingContext">
|
|
<summary>提供运行模型联编程序的上下文。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBindingContext.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBindingContext" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelBindingContext.#ctor(System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelBindingContext" /> 类的新实例。</summary>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.FallbackToEmptyPrefix">
|
|
<summary>获取或设置一个值,该值指示联编程序是否应使用空前缀。</summary>
|
|
<returns>如果联编程序应使用空前缀,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.Model">
|
|
<summary>获取或设置模型。</summary>
|
|
<returns>模型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ModelMetadata">
|
|
<summary>获取或设置模型元数据。</summary>
|
|
<returns>模型元数据。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ModelName">
|
|
<summary>获取或设置模型的名称。</summary>
|
|
<returns>模型的名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ModelState">
|
|
<summary>获取或设置模型的状态。</summary>
|
|
<returns>模型的状态。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ModelType">
|
|
<summary>获取或设置模型的类型。</summary>
|
|
<returns>模型的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.PropertyMetadata">
|
|
<summary>获取属性元数据。</summary>
|
|
<returns>属性元数据。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ValidationNode">
|
|
<summary>获取或设置验证节点。</summary>
|
|
<returns>验证节点。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelBindingContext.ValueProvider">
|
|
<summary>获取或设置值提供程序。</summary>
|
|
<returns>值提供程序。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelError">
|
|
<summary>表示在模型绑定期间发生的错误。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelError.#ctor(System.Exception)">
|
|
<summary>使用指定的异常初始化 <see cref="T:System.Web.Http.ModelBinding.ModelError" /> 类的新实例。</summary>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelError.#ctor(System.Exception,System.String)">
|
|
<summary>使用指定的异常和错误消息初始化 <see cref="T:System.Web.Http.ModelBinding.ModelError" /> 类的新实例。</summary>
|
|
<param name="exception">异常。</param>
|
|
<param name="errorMessage">错误消息</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelError.#ctor(System.String)">
|
|
<summary>使用指定的错误消息初始化 <see cref="T:System.Web.Http.ModelBinding.ModelError" /> 类的新实例。</summary>
|
|
<param name="errorMessage">错误消息</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelError.ErrorMessage">
|
|
<summary>获取或设置错误消息。</summary>
|
|
<returns>错误消息。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelError.Exception">
|
|
<summary>获取或设置异常对象。</summary>
|
|
<returns>异常对象。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelErrorCollection">
|
|
<summary>表示 <see cref="T:System.Web.Http.ModelBinding.ModelError" /> 实例的集合。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelErrorCollection.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelErrorCollection" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelErrorCollection.Add(System.Exception)">
|
|
<summary>将指定的 Exception 对象添加到模型错误集合中。</summary>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelErrorCollection.Add(System.String)">
|
|
<summary>将指定的错误消息添加到模型错误集合中。</summary>
|
|
<param name="errorMessage">错误消息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelState">
|
|
<summary>将模型绑定的状态封装到操作-方法参数的一个属性或操作方法参数本身。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelState.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelState" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelState.Errors">
|
|
<summary>获取一个 <see cref="T:System.Web.Http.ModelBinding.ModelErrorCollection" /> 对象,该对象包含在模型绑定期间发生的任何错误。</summary>
|
|
<returns>模型状态错误。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelState.Value">
|
|
<summary>获取一个 <see cref="T:System.Web.Http.ValueProviders.ValueProviderResult" /> 对象,该对象用于封装在模型绑定期间绑定的值。</summary>
|
|
<returns>模型状态值。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ModelStateDictionary">
|
|
<summary>表示有关将已发送窗体绑定到操作方法(其中包括验证信息)的尝试的状态。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.#ctor(System.Web.Http.ModelBinding.ModelStateDictionary)">
|
|
<summary>使用从指定的模型状态字典复制的值来初始化 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" /> 类的新实例。</summary>
|
|
<param name="dictionary">字典。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Add(System.Collections.Generic.KeyValuePair{System.String,System.Web.Http.ModelBinding.ModelState})">
|
|
<summary>将指定的项添加到模型状态字典中。</summary>
|
|
<param name="item">要添加到模型状态字典中的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Add(System.String,System.Web.Http.ModelBinding.ModelState)">
|
|
<summary>将具有指定的键和值的元素添加到模型状态字典中。</summary>
|
|
<param name="key">要添加的元素的键。</param>
|
|
<param name="value">要添加的元素的值。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.AddModelError(System.String,System.Exception)">
|
|
<summary>将指定的模型错误添加到与指定键关联的模型状态字典的错误集合中。</summary>
|
|
<param name="key">键。</param>
|
|
<param name="exception">异常。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.AddModelError(System.String,System.String)">
|
|
<summary>将指定的错误消息添加到与指定键关联的模型状态字典的错误集合中。</summary>
|
|
<param name="key">键。</param>
|
|
<param name="errorMessage">错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Clear">
|
|
<summary>移除模型状态字典中的所有项。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Web.Http.ModelBinding.ModelState})">
|
|
<summary>确定模型状态字典是否包含特定值。</summary>
|
|
<returns>如果在模型状态字典中找到了相应项,则为 true;否则为 false。</returns>
|
|
<param name="item">要在模型状态字典中查找的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.ContainsKey(System.String)">
|
|
<summary>确定模型状态字典是否包含指定的键。</summary>
|
|
<returns>如果模型状态字典包含指定的键,则为 true;否则为 false。</returns>
|
|
<param name="key">要在模型状态字典中查找的键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Web.Http.ModelBinding.ModelState}[],System.Int32)">
|
|
<summary>从指定的索引位置开始,将模型状态字典中的元素复制到一个数组中。</summary>
|
|
<param name="array">数组。该数组的索引必须从零开始。</param>
|
|
<param name="arrayIndex">数组中开始复制位置的从零开始的索引。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.Count">
|
|
<summary>获取集合中键/值对的数目。</summary>
|
|
<returns>集合中键/值对的数目。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.GetEnumerator">
|
|
<summary>返回一个可用于循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的枚举器。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.IsReadOnly">
|
|
<summary>获取一个值,该值指示该集合是否为只读集合。</summary>
|
|
<returns>如果该集合是只读的,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.IsValid">
|
|
<summary>获取一个值,该值指示模型状态字典的此实例是否有效。</summary>
|
|
<returns>如果该实例有效,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.IsValidField(System.String)">
|
|
<summary>确定是否存在与指定键关联或以指定键为前缀的任何 <see cref="T:System.Web.Http.ModelBinding.ModelError" /> 对象。</summary>
|
|
<returns>如果模型状态字典包含一个与指定键关联的值,则为 true;否则为 false。</returns>
|
|
<param name="key">键。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.Item(System.String)">
|
|
<summary>获取或设置与指定的键关联的值。</summary>
|
|
<returns>模型状态项。</returns>
|
|
<param name="key">键。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.Keys">
|
|
<summary>获取包含字典中的键的集合。</summary>
|
|
<returns>一个包含模型状态字典中的键的集合。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Merge(System.Web.Http.ModelBinding.ModelStateDictionary)">
|
|
<summary>将指定的 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" /> 对象中的值复制到此字典中,如果键相同,则覆盖现有值。</summary>
|
|
<param name="dictionary">字典。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Web.Http.ModelBinding.ModelState})">
|
|
<summary>从模型状态字典中移除指定对象的第一个匹配项。</summary>
|
|
<returns>如果从模型状态字典中成功移除了相应项,则为 true;否则为 false。如果在模型状态字典中找不到相应项,则此方法也会返回 false。</returns>
|
|
<param name="item">要从模型状态字典中移除的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.Remove(System.String)">
|
|
<summary>从模型状态字典中移除具有指定键的元素。</summary>
|
|
<returns>如果成功移除该元素,则为 true;否则为 false。如果在模型状态字典中找不到相应键,则此方法也会返回 false。</returns>
|
|
<param name="key">要移除的元素的键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.SetModelValue(System.String,System.Web.Http.ValueProviders.ValueProviderResult)">
|
|
<summary>使用指定的值提供程序字典设置指定键的值。</summary>
|
|
<param name="key">键。</param>
|
|
<param name="value">值。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.System#Collections#IEnumerable#GetEnumerator">
|
|
<summary>返回循环访问集合的枚举器。</summary>
|
|
<returns>一个可用于循环访问集合的 IEnumerator 对象。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ModelStateDictionary.TryGetValue(System.String,System.Web.Http.ModelBinding.ModelState@)">
|
|
<summary>尝试获取与指定的键关联的值。</summary>
|
|
<returns>如果对象包含具有指定键的元素,则为 true;否则为 false。</returns>
|
|
<param name="key">要获取的值的键。</param>
|
|
<param name="value">与指定键关联的值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.ModelStateDictionary.Values">
|
|
<summary>获取包含字典中的值的集合。</summary>
|
|
<returns>一个包含模型状态字典中的值的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.ParameterBindingRulesCollection">
|
|
<summary> 函数的集合,可用于生成给定参数的参数绑定。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ParameterBindingRulesCollection.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.ParameterBindingRulesCollection" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ParameterBindingRulesCollection.Add(System.Type,System.Func{System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.Controllers.HttpParameterBinding})">
|
|
<summary> 将函数添加到集合的末尾。添加的函数是用于检查 parameterType 是否与 typeMatch 匹配的 funcInner 的包装。</summary>
|
|
<param name="typeMatch">要与 HttpParameterDescriptor.ParameterType 匹配的类型。</param>
|
|
<param name="funcInner">类型匹配成功时调用的内部函数</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ParameterBindingRulesCollection.Insert(System.Int32,System.Type,System.Func{System.Web.Http.Controllers.HttpParameterDescriptor,System.Web.Http.Controllers.HttpParameterBinding})">
|
|
<summary> 在集合中的指定索引处插入一个函数。/// 添加的函数是用于检查 parameterType 是否与 typeMatch 匹配的 funcInner 的包装。</summary>
|
|
<param name="index">要插入处的索引。</param>
|
|
<param name="typeMatch">要与 HttpParameterDescriptor.ParameterType 匹配的类型。</param>
|
|
<param name="funcInner">类型匹配成功时调用的内部函数</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.ParameterBindingRulesCollection.LookupBinding(System.Web.Http.Controllers.HttpParameterDescriptor)">
|
|
<summary> 按顺序执行每个绑定函数,直到其中一个函数返回非 null 绑定。</summary>
|
|
<returns>为参数生成的第一个非 null 绑定;如果未生成绑定,则为 null。</returns>
|
|
<param name="parameter">要绑定的参数。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ArrayModelBinder`1">
|
|
<summary>将浏览器请求映射到数组。</summary>
|
|
<typeparam name="TElement">数组的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ArrayModelBinder`1.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ArrayModelBinder`1" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ArrayModelBinder`1.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>指示是否绑定模型。</summary>
|
|
<returns>如果已绑定指定模型,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ArrayModelBinder`1.CreateOrReplaceCollection(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.Collections.Generic.IList{`0})">
|
|
<summary>将集合转换为数组。</summary>
|
|
<returns>所有情况下均为 true。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
<param name="newCollection">新集合。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ArrayModelBinderProvider">
|
|
<summary>为数组提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ArrayModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ArrayModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ArrayModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>返回数组的模型联编程序。</summary>
|
|
<returns>一个模型联编程序对象;或者如果尝试获取模型联编程序失败,则为 null。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.CollectionModelBinder`1">
|
|
<summary>将浏览器请求映射到集合。</summary>
|
|
<typeparam name="TElement">集合的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CollectionModelBinder`1.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CollectionModelBinder`1" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CollectionModelBinder`1.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的执行上下文和绑定上下文来绑定模型。</summary>
|
|
<returns>如果模型绑定成功,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CollectionModelBinder`1.CreateOrReplaceCollection(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.Collections.Generic.IList{`0})">
|
|
<summary>提供一种方法来让派生类在将集合从联编程序返回之前对集合进行操作。</summary>
|
|
<returns>所有情况下均为 true。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
<param name="newCollection">新集合。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.CollectionModelBinderProvider">
|
|
<summary>为集合提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CollectionModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CollectionModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CollectionModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索集合的模型联编程序。</summary>
|
|
<returns>模型联编程序。</returns>
|
|
<param name="configuration">模型的配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto">
|
|
<summary>表示一个复杂模型的数据传输对象 (DTO)。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDto.#ctor(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Metadata.ModelMetadata})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 类的新实例。</summary>
|
|
<param name="modelMetadata">模型元数据。</param>
|
|
<param name="propertyMetadata">属性元数据的集合。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.ComplexModelDto.ModelMetadata">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的模型元数据。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的模型元数据。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.ComplexModelDto.PropertyMetadata">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的属性元数据的集合。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的属性元数据的集合。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.ComplexModelDto.Results">
|
|
<summary>获取或设置 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的结果。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 的结果。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinder">
|
|
<summary>表示 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 对象的模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinder.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinder" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>确定是否已绑定指定的模型。</summary>
|
|
<returns>如果已绑定指定模型,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinderProvider">
|
|
<summary>表示调用模型联编程序提供程序的复杂模型。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDtoModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索关联的模型联编程序。</summary>
|
|
<returns>模型联编程序。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">要检索的模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult">
|
|
<summary>表示 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDto" /> 对象的结果。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult.#ctor(System.Object,System.Web.Http.Validation.ModelValidationNode)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult" /> 类的新实例。</summary>
|
|
<param name="model">对象模型。</param>
|
|
<param name="validationNode">验证节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult.Model">
|
|
<summary>获取或设置此对象的模型。</summary>
|
|
<returns>此对象的模型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult.ValidationNode">
|
|
<summary>获取或设置此对象的 <see cref="T:System.Web.Http.Validation.ModelValidationNode" />。</summary>
|
|
<returns>此对象的 <see cref="T:System.Web.Http.Validation.ModelValidationNode" />。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinder">
|
|
<summary>表示委托给 <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 实例集合之一的 <see cref="T:System.Web.Http.ModelBinding.IModelBinder" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinder.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.ModelBinding.IModelBinder})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinder" /> 类的新实例。</summary>
|
|
<param name="binders">联编程序的枚举。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinder.#ctor(System.Web.Http.ModelBinding.IModelBinder[])">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinder" /> 类的新实例。</summary>
|
|
<param name="binders">联编程序的数组。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>指示是否绑定指定模型。</summary>
|
|
<returns>如果已绑定该模型,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider">
|
|
<summary>表示复合模型联编程序提供程序的类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.ModelBinding.ModelBinderProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider" /> 类的新实例。</summary>
|
|
<param name="providers">
|
|
<see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /> 的集合</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>获取模型的联编程序。</summary>
|
|
<returns>模型的联编程序。</returns>
|
|
<param name="configuration">联编程序配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.CompositeModelBinderProvider.Providers">
|
|
<summary>获取复合模型联编程序的提供程序。</summary>
|
|
<returns>提供程序集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.DictionaryModelBinder`2">
|
|
<summary>将浏览器请求映射到字典数据对象。</summary>
|
|
<typeparam name="TKey">键的类型。</typeparam>
|
|
<typeparam name="TValue">值的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.DictionaryModelBinder`2.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.DictionaryModelBinder`2" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.DictionaryModelBinder`2.CreateOrReplaceCollection(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.Collections.Generic.IList{System.Collections.Generic.KeyValuePair{`0,`1}})">
|
|
<summary>将集合转换为字典。</summary>
|
|
<returns>所有情况下均为 true。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
<param name="newCollection">新集合。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.DictionaryModelBinderProvider">
|
|
<summary>为字典提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.DictionaryModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.DictionaryModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.DictionaryModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索关联的模型联编程序。</summary>
|
|
<returns>关联的模型联编程序。</returns>
|
|
<param name="configuration">要使用的配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinder`2">
|
|
<summary>将浏览器请求映射到键/值对数据对象。</summary>
|
|
<typeparam name="TKey">键的类型。</typeparam>
|
|
<typeparam name="TValue">值的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinder`2.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinder`2" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinder`2.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的执行上下文和绑定上下文来绑定模型。</summary>
|
|
<returns>如果模型绑定成功,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinderProvider">
|
|
<summary>为键/值对的集合提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.KeyValuePairModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索关联的模型联编程序。</summary>
|
|
<returns>关联的模型联编程序。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder">
|
|
<summary>将浏览器请求映射到可变数据对象。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的操作上下文和绑定上下文来绑定模型。</summary>
|
|
<returns>如果绑定成功,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.CanUpdateProperty(System.Web.Http.Metadata.ModelMetadata)">
|
|
<summary>检索一个值,该值指示是否可以更新某个属性。</summary>
|
|
<returns>如果可以更新该属性,则为 true;否则为 false。</returns>
|
|
<param name="propertyMetadata">要对其求值的属性的元数据。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.CreateModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>创建模型的实例。</summary>
|
|
<returns>新建的模型对象。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.EnsureModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>如果绑定上下文中尚不存在实例,则创建一个模型实例。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.GetMetadataForProperties(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>检索模型属性的元数据。</summary>
|
|
<returns>模型属性的元数据。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinder.SetProperty(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext,System.Web.Http.Metadata.ModelMetadata,System.Web.Http.ModelBinding.Binders.ComplexModelDtoResult,System.Web.Http.Validation.ModelValidator)">
|
|
<summary>设置指定属性的值。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
<param name="propertyMetadata">要设置的属性的元数据。</param>
|
|
<param name="dtoResult">有关属性的验证信息。</param>
|
|
<param name="requiredValidator">模型的验证程序。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinderProvider">
|
|
<summary>为可变对象提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.MutableObjectModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索指定类型的模型联编程序。</summary>
|
|
<returns>模型联编程序。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">要检索的模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider.#ctor(System.Type,System.Func{System.Web.Http.ModelBinding.IModelBinder})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider" /> 类的新实例。</summary>
|
|
<param name="modelType">模型类型。</param>
|
|
<param name="modelBinderFactory">模型联编程序工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider.#ctor(System.Type,System.Web.Http.ModelBinding.IModelBinder)">
|
|
<summary>使用指定的模型类型和模型联编程序来初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider" /> 类的新实例。</summary>
|
|
<param name="modelType">模型类型。</param>
|
|
<param name="modelBinder">模型联编程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>使用指定的执行上下文和绑定上下文来返回模型联编程序。</summary>
|
|
<returns>模型联编程序;如果尝试获取模型联编程序失败,则为 null。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">模型类型。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider.ModelType">
|
|
<summary>获取模型的类型。</summary>
|
|
<returns>模型的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider.SuppressPrefixCheck">
|
|
<summary>获取或设置一个值,该值指定是否应取消前缀检查。</summary>
|
|
<returns>如果应取消前缀检查,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinder">
|
|
<summary>将浏览器请求映射到数据对象。当模型绑定要求使用 .NET Framework 类型转换器进行转换时,将使用此类型。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinder.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinder" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的控制器上下文和绑定上下文来绑定模型。</summary>
|
|
<returns>如果模型绑定成功,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinderProvider">
|
|
<summary>为需要类型转换的模型提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeConverterModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索需要类型转换的模型的模型联编程序。</summary>
|
|
<returns>模型联编程序;如果无法转换类型,或者没有可转换的值,则为 Nothing。</returns>
|
|
<param name="configuration">联编程序的配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder">
|
|
<summary>将浏览器请求映射到数据对象。当模型绑定不需要类型转换时,将使用此类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder.BindModel(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.ModelBinding.ModelBindingContext)">
|
|
<summary>使用指定的执行上下文和绑定上下文来绑定模型。</summary>
|
|
<returns>如果模型绑定成功,则为 true;否则为 false。</returns>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="bindingContext">绑定上下文。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinderProvider">
|
|
<summary>为不需要类型转换的模型提供模型联编程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinderProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinderProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ModelBinding.Binders.TypeMatchModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
|
<summary>检索关联的模型联编程序。</summary>
|
|
<returns>关联的模型联编程序。</returns>
|
|
<param name="configuration">配置。</param>
|
|
<param name="modelType">模型的类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpMethodConstraint">
|
|
<summary>允许您定义当 ASP.NET 路由确定 URL 是否与路由匹配时允许使用的 HTTP 谓词。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpMethodConstraint.#ctor(System.Net.Http.HttpMethod[])">
|
|
<summary>使用允许对路由使用的 HTTP 谓词来初始化 <see cref="T:System.Web.Http.Routing.HttpMethodConstraint" /> 类的新实例。</summary>
|
|
<param name="allowedMethods">对路由有效的 HTTP 谓词。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpMethodConstraint.AllowedMethods">
|
|
<summary>获取或设置允许对路由使用的 HTTP 谓词的集合。</summary>
|
|
<returns>允许对路由使用的 HTTP 谓词的集合。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpMethodConstraint.Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection)">
|
|
<summary>确定请求是否是使用某一个已允许对路由使用的 HTTP 谓词发出的。</summary>
|
|
<returns>当 ASP.NET 路由正在处理请求时,如果该请求是使用允许的 HTTP 谓词发出的,则此值为 true;否则为 false。当 ASP.NET 路由正在构造 URL 时,如果提供的值包含与某一个允许的 HTTP 谓词匹配的 HTTP 谓词,则此值为 true;否则为 false。默认值为 true。</returns>
|
|
<param name="request">为了确定其是否与 URL 匹配而检查的请求。</param>
|
|
<param name="route">为了确定其是否与 URL 匹配而检查的对象。</param>
|
|
<param name="parameterName">所检查的参数的名称。</param>
|
|
<param name="values">一个包含路由参数的对象。</param>
|
|
<param name="routeDirection">一个对象,用于指示当处理某个传入请求或生成某个 URL 时,是否正在执行约束检查。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpMethodConstraint.System#Web#Http#Routing#IHttpRouteConstraint#Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection)">
|
|
<summary>确定请求是否是使用某一个已允许对路由使用的 HTTP 谓词发出的。</summary>
|
|
<returns>当 ASP.NET 路由正在处理请求时,如果该请求是使用允许的 HTTP 谓词发出的,则此值为 true;否则为 false。当 ASP.NET 路由正在构造 URL 时,如果提供的值包含与某一个允许的 HTTP 谓词匹配的 HTTP 谓词,则此值为 true;否则为 false。默认值为 true。</returns>
|
|
<param name="request">为了确定其是否与 URL 匹配而检查的请求。</param>
|
|
<param name="route">为了确定其是否与 URL 匹配而检查的对象。</param>
|
|
<param name="parameterName">所检查的参数的名称。</param>
|
|
<param name="values">一个包含路由参数的对象。</param>
|
|
<param name="routeDirection">一个对象,用于指示当处理某个传入请求或生成某个 URL 时,是否正在执行约束检查。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpRoute">
|
|
<summary>表示自承载(即在 ASP.NET 之外承载)的路由类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor(System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor(System.String,System.Web.Http.Routing.HttpRouteValueDictionary)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">路由参数的默认值。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor(System.String,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteValueDictionary)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">路由参数的默认值。</param>
|
|
<param name="constraints">路由参数的约束。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor(System.String,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteValueDictionary)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">路由参数的默认值。</param>
|
|
<param name="constraints">路由参数的约束。</param>
|
|
<param name="dataTokens">路由参数的任何附加标记。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.#ctor(System.String,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteValueDictionary,System.Net.Http.HttpMessageHandler)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 类的新实例。</summary>
|
|
<param name="routeTemplate">路由模板。</param>
|
|
<param name="defaults">路由参数的默认值。</param>
|
|
<param name="constraints">路由参数的约束。</param>
|
|
<param name="dataTokens">路由参数的任何附加标记。</param>
|
|
<param name="handler">将作为请求接收方的消息处理程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRoute.Constraints">
|
|
<summary>获取路由参数的约束。</summary>
|
|
<returns>路由参数的约束。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRoute.DataTokens">
|
|
<summary>获取任何不直接用于确定路由是否与传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 匹配的附加数据标记。</summary>
|
|
<returns>任何不直接用于确定路由是否与传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 匹配的附加数据标记。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRoute.Defaults">
|
|
<summary>获取路由参数的默认值(如果传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 未提供路由参数值)。</summary>
|
|
<returns>路由参数的默认值(如果传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 未提供路由参数值)。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.GetRouteData(System.String,System.Net.Http.HttpRequestMessage)">
|
|
<summary>通过查找路由的 <see cref="T:System.Web.Http.Routing.HttpRouteData" /> 来确定该路由是否是传入请求的匹配项。</summary>
|
|
<returns>如果匹配,则为该路由的 <see cref="T:System.Web.Http.Routing.HttpRouteData" />;否则为 null。</returns>
|
|
<param name="virtualPathRoot">虚拟路径根。</param>
|
|
<param name="request">HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.GetVirtualPath(System.Net.Http.HttpRequestMessage,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>尝试生成一个 URI,该 URI 表示基于 <see cref="T:System.Web.Http.Routing.HttpRouteData" /> 的当前值传入的值,并使用指定的 <see cref="T:System.Web.Http.Routing.HttpRoute" /> 生成新值。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Routing.HttpVirtualPathData" /> 实例或 null(如果无法生成 URI)。</returns>
|
|
<param name="request">HTTP 请求消息。</param>
|
|
<param name="values">路由值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRoute.Handler">
|
|
<summary>获取或设置 http 路由处理程序。</summary>
|
|
<returns>http 路由处理程序。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRoute.ProcessConstraint(System.Net.Http.HttpRequestMessage,System.Object,System.String,System.Web.Http.Routing.HttpRouteValueDictionary,System.Web.Http.Routing.HttpRouteDirection)">
|
|
<summary>确定此实例是否等于指定的路由。</summary>
|
|
<returns>如果此实例等于指定的路由,则为 true;否则为 false。</returns>
|
|
<param name="request">HTTP 请求。</param>
|
|
<param name="constraint">路由参数的约束。</param>
|
|
<param name="parameterName">参数名。</param>
|
|
<param name="values">参数值的列表。</param>
|
|
<param name="routeDirection">
|
|
<see cref="System.Web.Http.Routing.HttpRouteDirection" /> 枚举的枚举值之一。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRoute.RouteTemplate">
|
|
<summary>获取描述要匹配的 URI 模式的路由模板。</summary>
|
|
<returns>描述要匹配的 URI 模式的路由模板。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpRouteData">
|
|
<summary>封装有关 HTTP 路由的信息。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRouteData.#ctor(System.Web.Http.Routing.IHttpRoute)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRouteData" /> 类的新实例。</summary>
|
|
<param name="route">一个定义路由的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRouteData.#ctor(System.Web.Http.Routing.IHttpRoute,System.Web.Http.Routing.HttpRouteValueDictionary)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRouteData" /> 类的新实例。</summary>
|
|
<param name="route">一个定义路由的对象。</param>
|
|
<param name="values">值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRouteData.Route">
|
|
<summary>获取表示路由的对象。</summary>
|
|
<returns>表示路由的对象。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpRouteData.Values">
|
|
<summary>获取 URL 参数值和路由默认值的集合。</summary>
|
|
<returns>包含从 URL 和默认值中分析得到的值的对象。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpRouteDirection">
|
|
<summary>指定路由方向的枚举。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Routing.HttpRouteDirection.UriResolution">
|
|
<summary>UriResolution 方向。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Routing.HttpRouteDirection.UriGeneration">
|
|
<summary>UriGeneration 方向。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpRouteValueDictionary">
|
|
<summary>表示指定键/值对的自承载的路由类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRouteValueDictionary.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRouteValueDictionary" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRouteValueDictionary.#ctor(System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRouteValueDictionary" /> 类的新实例。</summary>
|
|
<param name="dictionary">字典。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpRouteValueDictionary.#ctor(System.Object)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpRouteValueDictionary" /> 类的新实例。</summary>
|
|
<param name="values">键值。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.HttpVirtualPathData">
|
|
<summary>提供了有关 HTTP 虚拟路径的数据。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.HttpVirtualPathData.#ctor(System.Web.Http.Routing.IHttpRoute,System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.HttpVirtualPathData" /> 类的新实例。</summary>
|
|
<param name="route">虚拟路径的路由。</param>
|
|
<param name="virtualPath">从路由定义创建的 URL。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpVirtualPathData.Route">
|
|
<summary>获取或设置虚拟路径的路由。</summary>
|
|
<returns>虚拟路径的路由。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.HttpVirtualPathData.VirtualPath">
|
|
<summary>获取或设置从路由定义创建的 URL。</summary>
|
|
<returns>从路由定义创建的 URL。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.IHttpRoute">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.Routing.IHttpRoute" /> 为一个表示如何将传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 映射到特定控制器和操作的路由定义了接口。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRoute.Constraints">
|
|
<summary> 获取路由参数的约束。</summary>
|
|
<returns>路由参数的约束。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRoute.DataTokens">
|
|
<summary> 获取任何不直接用于确定路由是否与传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 匹配的附加数据标记。</summary>
|
|
<returns>附加数据标记。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRoute.Defaults">
|
|
<summary> 获取路由参数的默认值(如果传入的 <see cref="T:System.Net.Http.HttpRequestMessage" /> 未提供路由参数值)。</summary>
|
|
<returns>路由参数的默认值。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.IHttpRoute.GetRouteData(System.String,System.Net.Http.HttpRequestMessage)">
|
|
<summary> 通过查找路由的 <see cref="!:IRouteData" />,确定传入请求是否匹配此路由。</summary>
|
|
<returns>如果匹配,则为路由的 <see cref="!:RouteData" />;否则为 null。</returns>
|
|
<param name="virtualPathRoot">虚拟路径根。</param>
|
|
<param name="request">请求。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.IHttpRoute.GetVirtualPath(System.Net.Http.HttpRequestMessage,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>基于所提供的路由和值获取虚拟路径数据。</summary>
|
|
<returns>虚拟路径数据。</returns>
|
|
<param name="request">请求消息。</param>
|
|
<param name="values">值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRoute.Handler">
|
|
<summary>获取将作为请求接收方的消息处理程序。</summary>
|
|
<returns>消息处理程序。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRoute.RouteTemplate">
|
|
<summary> 获取描述要匹配的 URI 模式的路由模板。</summary>
|
|
<returns>路由模板。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.IHttpRouteConstraint">
|
|
<summary>表示基类路由约束。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.IHttpRouteConstraint.Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection)">
|
|
<summary>确定此实例是否等于指定的路由。</summary>
|
|
<returns>如果此实例等于指定的路由,则为 True;否则为 false。</returns>
|
|
<param name="request">请求。</param>
|
|
<param name="route">要比较的路由。</param>
|
|
<param name="parameterName">参数名。</param>
|
|
<param name="values">参数值的列表。</param>
|
|
<param name="routeDirection">路由方向。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.IHttpRouteData">
|
|
<summary>提供有关路由的信息。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRouteData.Route">
|
|
<summary>获取表示路由的对象。</summary>
|
|
<returns>表示路由的对象。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpRouteData.Values">
|
|
<summary>获取 URL 参数值和路由默认值的集合。</summary>
|
|
<returns>从 URL 分析出来的值以及来自默认值的值。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.IHttpVirtualPathData">
|
|
<summary>定义 HTTP 路由的属性。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpVirtualPathData.Route">
|
|
<summary>获取 HTTP 路由。</summary>
|
|
<returns>HTTP 路由。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.IHttpVirtualPathData.VirtualPath">
|
|
<summary>获取表示当前 HTTP 路由的虚拟路径的 URI。</summary>
|
|
<returns>表示当前 HTTP 路由的虚拟路径的 URI。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Routing.UrlHelper">
|
|
<summary>此处的内容将不会更新;请不要在此处添加材料。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.UrlHelper.#ctor(System.Net.Http.HttpRequestMessage)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 类的新实例。</summary>
|
|
<param name="request">此实例的 HTTP 请求。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.UrlHelper.Link(System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>返回指定路由的链接。</summary>
|
|
<returns>指定路由的链接。</returns>
|
|
<param name="routeName">路由的名称。</param>
|
|
<param name="routeValues">一个包含路由参数的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.UrlHelper.Link(System.String,System.Object)">
|
|
<summary>返回指定路由的链接。</summary>
|
|
<returns>指定路由的链接。</returns>
|
|
<param name="routeName">路由的名称。</param>
|
|
<param name="routeValues">路由值。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Routing.UrlHelper.Request">
|
|
<summary>获取或设置当前 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 实例的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</summary>
|
|
<returns>当前实例的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.UrlHelper.Route(System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>返回 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 的路由。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Routing.UrlHelper" /> 的路由。</returns>
|
|
<param name="routeName">路由的名称。</param>
|
|
<param name="routeValues">路由值列表。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Routing.UrlHelper.Route(System.String,System.Object)">
|
|
<summary>返回 <see cref="T:System.Web.Http.Routing.UrlHelper" /> 的路由。</summary>
|
|
<returns>
|
|
<see cref="T:System.Web.Http.Routing.UrlHelper" /> 的路由。</returns>
|
|
<param name="routeName">路由的名称。</param>
|
|
<param name="routeValues">路由值。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Services.DefaultServices">
|
|
<summary> 表示由 <see cref="T:System.Web.Http.HttpConfiguration" /> 使用的服务实例的容器。请注意,此容器仅支持已知的类型,在调用用于获取或设置任意服务类型的方法时将引发 <see cref="T:System.ArgumentException" />。对于任意类型的创建,请改用 <see cref="T:System.Web.Http.Dependencies.IDependencyResolver" />。此容器支持的类型包括:<see cref="T:System.Web.Http.Controllers.IActionValueBinder" /><see cref="T:System.Web.Http.Description.IApiExplorer" /><see cref="T:System.Web.Http.Dispatcher.IAssembliesResolver" /><see cref="T:System.Web.Http.Validation.IBodyModelValidator" /><see cref="T:System.Net.Http.Formatting.IContentNegotiator" /><see cref="T:System.Web.Http.Description.IDocumentationProvider" /><see cref="T:System.Web.Http.Filters.IFilterProvider" /><see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /><see cref="T:System.Web.Http.Controllers.IHttpActionInvoker" /><see cref="T:System.Web.Http.Controllers.IHttpActionSelector" /><see cref="T:System.Web.Http.Dispatcher.IHttpControllerActivator" /><see cref="T:System.Web.Http.Dispatcher.IHttpControllerSelector" /><see cref="T:System.Web.Http.Dispatcher.IHttpControllerTypeResolver" /><see cref="T:System.Web.Http.Tracing.ITraceManager" /><see cref="T:System.Web.Http.Tracing.ITraceWriter" /><see cref="T:System.Web.Http.Query.IStructuredQueryBuilder" /><see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider" /><see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" /><see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /><see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" />如果将不在上述列表中的任何类型传递给此接口中的任何方法,将导致引发 <see cref="T:System.ArgumentException" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Services.DefaultServices" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.#ctor(System.Web.Http.HttpConfiguration)">
|
|
<summary>使用指定的 <see cref="T:System.Web.Http.HttpConfiguration" /> 对象来初始化 <see cref="T:System.Web.Http.Services.DefaultServices" /> 类的新实例。</summary>
|
|
<param name="configuration">
|
|
<see cref="T:System.Web.Http.HttpConfiguration" /> 对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.ClearSingle(System.Type)">
|
|
<summary>从默认服务中删除单实例服务。</summary>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.Dispose">
|
|
<summary>执行与释放或重置非托管资源关联的应用程序定义任务。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.GetService(System.Type)">
|
|
<summary>获取指定类型的服务。</summary>
|
|
<returns>服务的第一个实例;如果找不到该服务,则为 null。</returns>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.GetServiceInstances(System.Type)">
|
|
<summary>获取给定服务类型的服务对象的列表,并验证该服务类型。</summary>
|
|
<returns>指定类型的服务对象的列表。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.GetServices(System.Type)">
|
|
<summary>获取给定服务类型的服务对象的列表。</summary>
|
|
<returns>指定类型的服务对象的列表;如果未找到该服务,则为空列表。</returns>
|
|
<param name="serviceType">服务的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.IsSingleService(System.Type)">
|
|
<summary>查询服务类型是否为单实例。</summary>
|
|
<returns>如果该服务类型最多只有一个实例,则为 true;如果该服务类型支持多个实例,则为 false。</returns>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.ReplaceSingle(System.Type,System.Object)">
|
|
<summary>替换单实例服务对象。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
<param name="service">服务对象,用于替换以前的实例。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Services.DefaultServices.ResetCache(System.Type)">
|
|
<summary>删除单个服务类型的缓存值。</summary>
|
|
<param name="serviceType">服务类型。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.ITraceManager">
|
|
<summary>表示用于记录方法入口/出口和持续时间的性能跟踪类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceManager.Initialize(System.Web.Http.HttpConfiguration)">
|
|
<summary>使用指定的配置初始化 <see cref="T:System.Web.Http.Tracing.ITraceManager" /> 类。</summary>
|
|
<param name="configuration">配置。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.ITraceWriter">
|
|
<summary>表示跟踪编写器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriter.Trace(System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.Action{System.Web.Http.Tracing.TraceRecord})">
|
|
<summary> 当且仅当在给定 category 和 level 允许跟踪时,调用指定的 traceAction 以允许在新的 <see cref="T:System.Web.Http.Tracing.TraceRecord" /> 中设置值。</summary>
|
|
<param name="request">当前 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null,但这样做将阻止后续跟踪分析将跟踪与特定请求关联。</param>
|
|
<param name="category">跟踪的逻辑类别。用户可以定义自己的跟踪。</param>
|
|
<param name="level">写入此跟踪时所在的 <see cref="T:System.Web.Http.Tracing.TraceLevel" />。</param>
|
|
<param name="traceAction">启用了跟踪时要调用的操作。在此操作中,调用方应填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" /> 的各个字段。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.ITraceWriterExtensions">
|
|
<summary>表示 <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> 的扩展方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Debug(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception)">
|
|
<summary>提供了一组方法和属性,可帮助你调试使用指定编写器、请求、类别和异常的代码。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Debug(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception,System.String,System.Object[])">
|
|
<summary>提供了一组方法和属性,可帮助你调试使用指定编写器、请求、类别、异常、消息格式和参数的代码。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Debug(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.String,System.Object[])">
|
|
<summary>提供了一组方法和属性,可帮助你调试使用指定编写器、请求、类别、异常、消息格式和参数的代码。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Error(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception)">
|
|
<summary>使用指定的编写器、请求、类别和异常在列表中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Error(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception,System.String,System.Object[])">
|
|
<summary>使用指定的编写器、请求、类别、异常、消息格式和参数在列表中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">异常。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息中的参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Error(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.String,System.Object[])">
|
|
<summary>使用指定的编写器、请求、类别、消息格式和参数在列表中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息中的参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Fatal(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception)">
|
|
<summary>使用指定的编写器、请求、类别和异常在 <see cref="T:System.Web.Http.Tracing.ITraceWriterExtensions" /> 类中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的异常。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Fatal(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception,System.String,System.Object[])">
|
|
<summary>使用指定的编写器、请求、类别、异常、消息格式和参数在 <see cref="T:System.Web.Http.Tracing.ITraceWriterExtensions" /> 类中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">异常。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Fatal(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.String,System.Object[])">
|
|
<summary>使用指定的编写器、请求、类别、消息格式和参数在 <see cref="T:System.Web.Http.Tracing.ITraceWriterExtensions" /> 类中显示一条错误消息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Info(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception)">
|
|
<summary>显示 <see cref="System.Web.Http.Tracing.ITraceWriterExtensions" /> 中的详细信息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Info(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception,System.String,System.Object[])">
|
|
<summary>显示 <see cref="System.Web.Http.Tracing.ITraceWriterExtensions" /> 中的详细信息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Info(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.String,System.Object[])">
|
|
<summary>显示 <see cref="System.Web.Http.Tracing.ITraceWriterExtensions" /> 中的详细信息。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Trace(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.Exception)">
|
|
<summary>指示侦听器集合中的跟踪侦听器。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪级别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Trace(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.Exception,System.String,System.Object[])">
|
|
<summary>指示侦听器集合中的跟踪侦听器。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪级别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Trace(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.String,System.Object[])">
|
|
<summary>指示侦听器集合中的跟踪侦听器。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪的 <see cref="T:System.Web.Http.Tracing.TraceLevel" />。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEnd(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.String,System.String,System.Action{System.Web.Http.Tracing.TraceRecord},System.Action,System.Action{System.Web.Http.Tracing.TraceRecord},System.Action{System.Web.Http.Tracing.TraceRecord})">
|
|
<summary>跟踪围绕指定操作的开始和结束跟踪。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪的 <see cref="T:System.Web.Http.Tracing.TraceLevel" />。</param>
|
|
<param name="operatorName">执行操作的对象的名称。它可以为 null。</param>
|
|
<param name="operationName">要执行的操作的名称。它可以为 null。</param>
|
|
<param name="beginTrace">要在执行操作之前调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<param name="execute">一个 <see cref="T:System.Func`1" />,它将返回要执行操作的 <see cref="T:System.Threading.Tasks.Task" />。</param>
|
|
<param name="endTrace">在成功执行操作之后调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<param name="errorTrace">在执行操作时出错的情况下调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEndAsync``1(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.String,System.String,System.Action{System.Web.Http.Tracing.TraceRecord},System.Func{System.Threading.Tasks.Task{``0}},System.Action{System.Web.Http.Tracing.TraceRecord,``0},System.Action{System.Web.Http.Tracing.TraceRecord})">
|
|
<summary> 跟踪围绕指定操作的开始和结束跟踪。</summary>
|
|
<returns>操作返回的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪的 <see cref="T:System.Web.Http.Tracing.TraceLevel" />。</param>
|
|
<param name="operatorName">执行操作的对象的名称。它可以为 null。</param>
|
|
<param name="operationName">要执行的操作的名称。它可以为 null。</param>
|
|
<param name="beginTrace">要在执行操作之前调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<param name="execute">一个 <see cref="T:System.Func`1" />,它将返回要执行操作的 <see cref="T:System.Threading.Tasks.Task" />。</param>
|
|
<param name="endTrace">要在成功执行操作之后调用(以允许填入给定的 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。完成的任务结果也会传递给此操作。此参数可以为 null。</param>
|
|
<param name="errorTrace">在执行操作时出错的情况下调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<typeparam name="TResult">由 <see cref="T:System.Threading.Tasks.Task" /> 生成的结果的类型。</typeparam>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEndAsync(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.String,System.String,System.Action{System.Web.Http.Tracing.TraceRecord},System.Func{System.Threading.Tasks.Task},System.Action{System.Web.Http.Tracing.TraceRecord},System.Action{System.Web.Http.Tracing.TraceRecord})">
|
|
<summary> 跟踪围绕指定操作的开始和结束跟踪。</summary>
|
|
<returns>操作返回的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="level">跟踪的 <see cref="T:System.Web.Http.Tracing.TraceLevel" />。</param>
|
|
<param name="operatorName">执行操作的对象的名称。它可以为 null。</param>
|
|
<param name="operationName">要执行的操作的名称。它可以为 null。</param>
|
|
<param name="beginTrace">要在执行操作之前调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<param name="execute">一个 <see cref="T:System.Func`1" />,它将返回要执行操作的 <see cref="T:System.Threading.Tasks.Task" />。</param>
|
|
<param name="endTrace">在成功执行操作之后调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
<param name="errorTrace">在执行操作时出错的情况下调用(以允许填充给定 <see cref="T:System.Web.Http.Tracing.TraceRecord" />)的 <see cref="T:System.Action" />。它可以为 null。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Warn(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception)">
|
|
<summary>指示执行的警告级别。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Warn(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.Exception,System.String,System.Object[])">
|
|
<summary>指示执行的警告级别。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="exception">在执行过程中出现的错误。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.ITraceWriterExtensions.Warn(System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,System.String,System.String,System.Object[])">
|
|
<summary>指示执行的警告级别。</summary>
|
|
<param name="traceWriter">
|
|
<see cref="T:System.Web.Http.Tracing.ITraceWriter" />。</param>
|
|
<param name="request">要与跟踪关联的 <see cref="T:System.Net.Http.HttpRequestMessage" />。它可以为 null。</param>
|
|
<param name="category">跟踪的逻辑类别。</param>
|
|
<param name="messageFormat">消息的格式。</param>
|
|
<param name="messageArguments">消息参数。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.TraceCategories">
|
|
<summary>指定跟踪类别的枚举。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.ActionCategory">
|
|
<summary>操作类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.ControllersCategory">
|
|
<summary>控制器类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.FiltersCategory">
|
|
<summary>筛选器类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.FormattingCategory">
|
|
<summary>格式设置类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.MessageHandlersCategory">
|
|
<summary>消息处理程序类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.ModelBindingCategory">
|
|
<summary>模型绑定类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.RequestCategory">
|
|
<summary>请求类别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceCategories.RoutingCategory">
|
|
<summary>路由类别。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.TraceKind">
|
|
<summary>指定跟踪操作的类型。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceKind.Trace">
|
|
<summary>单个跟踪,不是 Begin/End 跟踪对的一部分。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceKind.Begin">
|
|
<summary>标记某个操作的开始的跟踪。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceKind.End">
|
|
<summary>标记某个操作的结束的跟踪。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.TraceLevel">
|
|
<summary>指定跟踪级别的枚举。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Off">
|
|
<summary>已禁用跟踪。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Debug">
|
|
<summary>调试跟踪的跟踪级别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Info">
|
|
<summary>信息跟踪的跟踪级别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Warn">
|
|
<summary>警告跟踪的跟踪级别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Error">
|
|
<summary>错误跟踪的跟踪级别。</summary>
|
|
</member>
|
|
<member name="F:System.Web.Http.Tracing.TraceLevel.Fatal">
|
|
<summary>严重跟踪的跟踪级别。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Tracing.TraceRecord">
|
|
<summary>表示跟踪记录。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Tracing.TraceRecord.#ctor(System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Tracing.TraceRecord" /> 类的新实例。</summary>
|
|
<param name="request">消息请求。</param>
|
|
<param name="category">跟踪类别。</param>
|
|
<param name="level">跟踪级别。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Category">
|
|
<summary>获取或设置跟踪类别。</summary>
|
|
<returns>跟踪类别。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Exception">
|
|
<summary>获取或设置异常。</summary>
|
|
<returns>异常。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Kind">
|
|
<summary>获取或设置跟踪的类型。</summary>
|
|
<returns>跟踪的类型。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Level">
|
|
<summary>获取或设置跟踪级别。</summary>
|
|
<returns>跟踪级别。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Message">
|
|
<summary>获取或设置消息。</summary>
|
|
<returns>消息。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Operation">
|
|
<summary>获取或设置所执行的逻辑操作名称。</summary>
|
|
<returns>所执行的逻辑操作名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Operator">
|
|
<summary>获取或设置执行操作的对象的逻辑名称。</summary>
|
|
<returns>执行操作的对象的逻辑名称。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Properties">
|
|
<summary>获取用户定义的可选属性。</summary>
|
|
<returns>用户定义的可选属性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Request">
|
|
<summary>从记录中获取 <see cref="T:System.Net.Http.HttpRequestMessage" />。</summary>
|
|
<returns>记录中的 <see cref="T:System.Net.Http.HttpRequestMessage" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.RequestId">
|
|
<summary>从 <see cref="P:System.Web.Http.Tracing.TraceRecord.Request" /> 获取相关 ID。</summary>
|
|
<returns>
|
|
<see cref="P:System.Web.Http.Tracing.TraceRecord.Request" /> 中的相关 ID。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Status">
|
|
<summary>获取或设置与 <see cref="T:System.Net.Http.HttpResponseMessage" /> 关联的 <see cref="T:System.Net.HttpStatusCode" />。</summary>
|
|
<returns>与 <see cref="T:System.Net.Http.HttpResponseMessage" /> 关联的 <see cref="T:System.Net.HttpStatusCode" />。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Tracing.TraceRecord.Timestamp">
|
|
<summary>获取此跟踪的 <see cref="T:System.DateTime" />(通过 <see cref="P:System.DateTime.UtcNow" />)。</summary>
|
|
<returns>此跟踪的 <see cref="T:System.DateTime" />(通过 <see cref="P:System.DateTime.UtcNow" />)。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.DefaultBodyModelValidator">
|
|
<summary>表示用于递归验证对象的类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.DefaultBodyModelValidator.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.DefaultBodyModelValidator" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.DefaultBodyModelValidator.Validate(System.Object,System.Type,System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.String)">
|
|
<summary> 确定 model 是否有效,并将任何验证错误添加到 actionContext 的 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" />。</summary>
|
|
<returns>如果 model 有效,则为 True,否则为 false。</returns>
|
|
<param name="model">要验证的模型。</param>
|
|
<param name="type">验证时要使用的 <see cref="T:System.Type" />。</param>
|
|
<param name="metadataProvider">用于提供模型元数据的 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" />。</param>
|
|
<param name="actionContext">要在其中验证模型的 <see cref="T:System.Web.Http.Controllers.HttpActionContext" />。</param>
|
|
<param name="keyPrefix">由于任何验证错误而要向键追加的 <see cref="T:System.String" />。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.IBodyModelValidator">
|
|
<summary>表示用于模型验证的接口</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.IBodyModelValidator.Validate(System.Object,System.Type,System.Web.Http.Metadata.ModelMetadataProvider,System.Web.Http.Controllers.HttpActionContext,System.String)">
|
|
<summary> 确定 model 是否有效,并将任何验证错误添加到 actionContext 的 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" /></summary>
|
|
<returns>如果 model 有效,则为 true,否则为 false。</returns>
|
|
<param name="model">要验证的模型。</param>
|
|
<param name="type">验证时要使用的 <see cref="T:System.Type" />。</param>
|
|
<param name="metadataProvider">用于提供模型元数据的 <see cref="T:System.Web.Http.Metadata.ModelMetadataProvider" />。</param>
|
|
<param name="actionContext">要在其中验证模型的 <see cref="T:System.Web.Http.Controllers.HttpActionContext" />。</param>
|
|
<param name="keyPrefix">由于任何验证错误而要向键追加的 <see cref="T:System.String" />。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelStateFormatterLogger">
|
|
<summary>此 <see cref="T:System.Net.Http.Formatting.IFormatterLogger" /> 将格式化程序错误记录到提供的 <see cref="T:System.Web.Http.ModelBinding.ModelStateDictionary" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelStateFormatterLogger.#ctor(System.Web.Http.ModelBinding.ModelStateDictionary,System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelStateFormatterLogger" /> 类的新实例。</summary>
|
|
<param name="modelState">模型状态。</param>
|
|
<param name="prefix">前缀。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelStateFormatterLogger.LogError(System.String,System.Exception)">
|
|
<summary>记录指定的模型错误。</summary>
|
|
<param name="errorPath">错误路径。</param>
|
|
<param name="exception">错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelStateFormatterLogger.LogError(System.String,System.String)">
|
|
<summary>记录指定的模型错误。</summary>
|
|
<param name="errorPath">错误路径。</param>
|
|
<param name="errorMessage">错误消息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidatedEventArgs">
|
|
<summary>为 <see cref="E:System.Web.Http.Validation.ModelValidationNode.Validated" /> 事件提供数据。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidatedEventArgs.#ctor(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.Validation.ModelValidationNode)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidatedEventArgs" /> 类的新实例。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="parentNode">父节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidatedEventArgs.ActionContext">
|
|
<summary>获取或设置操作的上下文。</summary>
|
|
<returns>操作的上下文。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidatedEventArgs.ParentNode">
|
|
<summary>获取或设置此节点的父级。</summary>
|
|
<returns>此节点的父级。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidatingEventArgs">
|
|
<summary>为 <see cref="E:System.Web.Http.Validation.ModelValidationNode.Validating" /> 事件提供数据。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidatingEventArgs.#ctor(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.Validation.ModelValidationNode)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidatingEventArgs" /> 类的新实例。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="parentNode">父节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidatingEventArgs.ActionContext">
|
|
<summary>获取或设置操作的上下文。</summary>
|
|
<returns>操作的上下文。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidatingEventArgs.ParentNode">
|
|
<summary>获取或设置此节点的父级。</summary>
|
|
<returns>此节点的父级。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidationNode">
|
|
<summary>为模型验证信息提供一个容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationNode.#ctor(System.Web.Http.Metadata.ModelMetadata,System.String)">
|
|
<summary>使用模型元数据和状态键初始化 <see cref="T:System.Web.Http.Validation.ModelValidationNode" /> 类的新实例。</summary>
|
|
<param name="modelMetadata">模型元数据。</param>
|
|
<param name="modelStateKey">模型状态键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationNode.#ctor(System.Web.Http.Metadata.ModelMetadata,System.String,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidationNode})">
|
|
<summary>使用模型元数据、模型状态键和子模型验证节点初始化 <see cref="T:System.Web.Http.Validation.ModelValidationNode" /> 类的新实例。</summary>
|
|
<param name="modelMetadata">模型元数据。</param>
|
|
<param name="modelStateKey">模型状态键。</param>
|
|
<param name="childNodes">模型子节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationNode.ChildNodes">
|
|
<summary>获取或设置子节点。</summary>
|
|
<returns>子节点。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationNode.CombineWith(System.Web.Http.Validation.ModelValidationNode)">
|
|
<summary>将当前的 <see cref="T:System.Web.Http.Validation.ModelValidationNode" /> 实例与指定的 <see cref="T:System.Web.Http.Validation.ModelValidationNode" /> 实例组合在一起。</summary>
|
|
<param name="otherNode">要与当前实例组合的模型验证节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationNode.ModelMetadata">
|
|
<summary>获取或设置模型元数据。</summary>
|
|
<returns>模型元数据。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationNode.ModelStateKey">
|
|
<summary>获取或设置模型状态键。</summary>
|
|
<returns>模型状态键。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationNode.SuppressValidation">
|
|
<summary>获取或设置一个值,该值指示是否应取消验证。</summary>
|
|
<returns>如果应取消验证,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationNode.Validate(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>使用指定的执行上下文验证模型。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationNode.Validate(System.Web.Http.Controllers.HttpActionContext,System.Web.Http.Validation.ModelValidationNode)">
|
|
<summary>使用指定的执行上下文和父节点验证模型。</summary>
|
|
<param name="actionContext">操作上下文。</param>
|
|
<param name="parentNode">父节点。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationNode.ValidateAllProperties">
|
|
<summary>获取或设置一个值,该值指示是否应验证模型的所有属性。</summary>
|
|
<returns>如果应验证模型的所有属性,则为 true;如果应跳过验证,则为 false。</returns>
|
|
</member>
|
|
<member name="E:System.Web.Http.Validation.ModelValidationNode.Validated">
|
|
<summary>已验证模型时发生。</summary>
|
|
</member>
|
|
<member name="E:System.Web.Http.Validation.ModelValidationNode.Validating">
|
|
<summary>正在验证模型时发生。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidationRequiredMemberSelector">
|
|
<summary>通过检查与成员关联的任何必需 ModelValidators 来表示所需成员的选择。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationRequiredMemberSelector.#ctor(System.Web.Http.Metadata.ModelMetadataProvider,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidationRequiredMemberSelector" /> 类的新实例。</summary>
|
|
<param name="metadataProvider">元数据提供程序。</param>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationRequiredMemberSelector.IsRequiredMember(System.Reflection.MemberInfo)">
|
|
<summary>指示是否需要该成员才能进行验证。</summary>
|
|
<returns>如果需要该成员才能进行验证,则为 true;否则为 false。</returns>
|
|
<param name="member">成员。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidationResult">
|
|
<summary>为验证结果提供容器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidationResult.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidationResult" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationResult.MemberName">
|
|
<summary>获取或设置成员名。</summary>
|
|
<returns>成员名。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidationResult.Message">
|
|
<summary>获取或设置验证结果消息。</summary>
|
|
<returns>验证结果消息。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidator">
|
|
<summary>提供用于实现验证逻辑的基类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidator.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidator" /> 类的新实例。</summary>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidator.GetModelValidator(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>返回模型的复合模型验证程序。</summary>
|
|
<returns>模型的复合模型验证程序。</returns>
|
|
<param name="validatorProviders">验证程序提供程序的枚举。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidator.IsRequired">
|
|
<summary>获取一个值,该值指示某个模型属性是否是必需的。</summary>
|
|
<returns>如果该模型属性是必需的,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidator.Validate(System.Web.Http.Metadata.ModelMetadata,System.Object)">
|
|
<summary>验证指定的对象。</summary>
|
|
<returns>验证结果的列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="container">容器。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.ModelValidator.ValidatorProviders">
|
|
<summary>获取或设置验证程序提供程序的枚举。</summary>
|
|
<returns>验证程序提供程序的枚举。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.ModelValidatorProvider">
|
|
<summary>为模型提供验证程序的列表。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidatorProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.ModelValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>获取与此 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 关联的验证程序的列表。</summary>
|
|
<returns>验证程序列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.AssociatedValidatorProvider">
|
|
<summary>为用于实现验证提供程序的类提供抽象类。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.AssociatedValidatorProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Providers.AssociatedValidatorProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.AssociatedValidatorProvider.GetTypeDescriptor(System.Type)">
|
|
<summary>获取指定类型的类型描述符。</summary>
|
|
<returns>指定类型的类型描述符。</returns>
|
|
<param name="type">验证提供程序的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.AssociatedValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>使用元数据和验证程序提供程序来获取模型的验证程序。</summary>
|
|
<returns>模型的验证程序。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序的枚举。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.AssociatedValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>使用元数据、验证程序提供程序和特性列表获取模型的验证程序。</summary>
|
|
<returns>模型的验证程序。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序的枚举。</param>
|
|
<param name="attributes">特性列表。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.DataAnnotationsModelValidationFactory">
|
|
<summary>表示创建 <see cref="T:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider" /> 实例的方法。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider">
|
|
<summary>表示 <see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 的实现,该实现为派生自 <see cref="T:System.ComponentModel.DataAnnotations.ValidationAttribute" /> 的特性提供验证程序。它还为实现 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的类型提供验证程序。若要支持客户端验证,您可以通过静态方法在此类上注册适配器,或者让验证特性实现 <see cref="T:System.Web.Http.Validation.IClientValidatable" />。用于支持 IClientValidatable 的逻辑在 <see cref="T:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator" /> 中实现。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>使用指定元数据、验证程序提供程序和特性来获取模型的验证程序。</summary>
|
|
<returns>模型的验证程序。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
<param name="attributes">特性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterAdapter(System.Type,System.Type)">
|
|
<summary>注册适配器以提供客户端验证。</summary>
|
|
<param name="attributeType">验证特性的类型。</param>
|
|
<param name="adapterType">适配器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterAdapterFactory(System.Type,System.Web.Http.Validation.Providers.DataAnnotationsModelValidationFactory)">
|
|
<summary>为验证提供程序注册适配器工厂。</summary>
|
|
<param name="attributeType">特性的类型。</param>
|
|
<param name="factory">将用于为指定特性创建 <see cref="T:System.Web.Http.Validation.ModelValidator" /> 对象的工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterDefaultAdapter(System.Type)">
|
|
<summary>注册默认适配器。</summary>
|
|
<param name="adapterType">适配器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterDefaultAdapterFactory(System.Web.Http.Validation.Providers.DataAnnotationsModelValidationFactory)">
|
|
<summary>注册默认适配器工厂。</summary>
|
|
<param name="factory">将用于为默认适配器创建 <see cref="T:System.Web.Http.Validation.ModelValidator" /> 对象的工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapter(System.Type)">
|
|
<summary>为实现 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的对象注册默认的适配器类型。该适配器类型必须派生自 <see cref="T:System.Web.Http.Validation.ModelValidator" />,并且必须包含一个公共构造函数,该构造函数采用 <see cref="T:System.Web.Http.Metadata.ModelMetadata" /> 和 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 类型的两个参数。</summary>
|
|
<param name="adapterType">适配器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapterFactory(System.Web.Http.Validation.Providers.DataAnnotationsValidatableObjectAdapterFactory)">
|
|
<summary>为实现 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的对象注册默认的适配器工厂。</summary>
|
|
<param name="factory">工厂。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapter(System.Type,System.Type)">
|
|
<summary>为必须实现 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的给定 modelType 注册适配器类型。该适配器类型必须派生自 <see cref="T:System.Web.Http.Validation.ModelValidator" />,并且必须包含一个公共构造函数,该构造函数采用 <see cref="T:System.Web.Http.Metadata.ModelMetadata" /> 和 <see cref="T:System.Web.Http.Controllers.HttpActionContext" /> 类型的两个参数。</summary>
|
|
<param name="modelType">模型类型。</param>
|
|
<param name="adapterType">适配器的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapterFactory(System.Type,System.Web.Http.Validation.Providers.DataAnnotationsValidatableObjectAdapterFactory)">
|
|
<summary>为必须实现 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的给定 modelType 注册适配器工厂。</summary>
|
|
<param name="modelType">模型类型。</param>
|
|
<param name="factory">工厂。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.DataAnnotationsValidatableObjectAdapterFactory">
|
|
<summary>为基于 <see cref="T:System.ComponentModel.DataAnnotations.IValidatableObject" /> 的验证程序提供工厂。</summary>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.DataMemberModelValidatorProvider">
|
|
<summary>表示数据成员模型的验证程序提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataMemberModelValidatorProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Providers.DataMemberModelValidatorProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.DataMemberModelValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>获取模型的验证程序。</summary>
|
|
<returns>模型的验证程序。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序的枚举器。</param>
|
|
<param name="attributes">特性列表。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.InvalidModelValidatorProvider">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.Validation.ModelValidatorProvider" /> 实现,提供了用于在模型无效时引发异常的验证程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.InvalidModelValidatorProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Providers.InvalidModelValidatorProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.InvalidModelValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.Collections.Generic.IEnumerable{System.Attribute})">
|
|
<summary>获取与此 <see cref="T:System.Web.Http.Validation.Providers.InvalidModelValidatorProvider" /> 关联的验证程序的列表。</summary>
|
|
<returns>验证程序列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
<param name="attributes">特性列表。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Providers.RequiredMemberModelValidatorProvider">
|
|
<summary>表示所需成员模型验证程序的提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.RequiredMemberModelValidatorProvider.#ctor(System.Net.Http.Formatting.IRequiredMemberSelector)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Providers.RequiredMemberModelValidatorProvider" /> 类的新实例。</summary>
|
|
<param name="requiredMemberSelector">所需的成员选择器。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Providers.RequiredMemberModelValidatorProvider.GetValidators(System.Web.Http.Metadata.ModelMetadata,System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>获取成员模型的验证程序。</summary>
|
|
<returns>成员模型的验证程序。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="validatorProviders">验证程序提供程序</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator">
|
|
<summary>提供模型验证程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.ComponentModel.DataAnnotations.ValidationAttribute)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator" /> 类的新实例。</summary>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
<param name="attribute">模型的验证特性。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator.Attribute">
|
|
<summary>获取或设置模型验证程序的验证特性。</summary>
|
|
<returns>模型验证程序的验证特性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator.IsRequired">
|
|
<summary>获取一个值,该值指示是否需要模型验证。</summary>
|
|
<returns>如果需要模型验证,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.DataAnnotationsModelValidator.Validate(System.Web.Http.Metadata.ModelMetadata,System.Object)">
|
|
<summary>验证模型并返回验证错误(如果有)。</summary>
|
|
<returns>模型的验证错误消息的列表,如果未出现错误,则为空列表。</returns>
|
|
<param name="metadata">模型元数据。</param>
|
|
<param name="container">模型的容器。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Validators.ErrorModelValidator">
|
|
<summary>
|
|
<see cref="T:System.Web.Http.Validation.ModelValidator" />,用于表示错误。此验证程序将始终引发异常,而不管实际模型值是多少。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.ErrorModelValidator.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider},System.String)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Validators.ErrorModelValidator" /> 类的新实例。</summary>
|
|
<param name="validatorProviders">模型验证程序提供程序的列表。</param>
|
|
<param name="errorMessage">异常的错误消息。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.ErrorModelValidator.Validate(System.Web.Http.Metadata.ModelMetadata,System.Object)">
|
|
<summary>验证指定的对象。</summary>
|
|
<returns>验证结果的列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="container">容器。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Validators.RequiredMemberModelValidator">
|
|
<summary>表示所需成员的 <see cref="T:System.Web.Http.Validation.ModelValidator" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.RequiredMemberModelValidator.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Validators.RequiredMemberModelValidator" /> 类的新实例。</summary>
|
|
<param name="validatorProviders">验证程序提供程序。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.Validation.Validators.RequiredMemberModelValidator.IsRequired">
|
|
<summary>获取或设置一个值,该值指示序列化引擎:该成员在验证时必须存在。</summary>
|
|
<returns>如果该成员是必需的,则为 true;否则为 false。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.RequiredMemberModelValidator.Validate(System.Web.Http.Metadata.ModelMetadata,System.Object)">
|
|
<summary>验证该对象。</summary>
|
|
<returns>验证结果的列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="container">容器。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.Validation.Validators.ValidatableObjectAdapter">
|
|
<summary>提供可验证的对象适配器。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.ValidatableObjectAdapter.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.Validation.ModelValidatorProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.Validation.Validators.ValidatableObjectAdapter" /> 类的新实例。</summary>
|
|
<param name="validatorProviders">验证提供程序。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.Validation.Validators.ValidatableObjectAdapter.Validate(System.Web.Http.Metadata.ModelMetadata,System.Object)">
|
|
<summary>验证指定的对象。</summary>
|
|
<returns>验证结果的列表。</returns>
|
|
<param name="metadata">元数据。</param>
|
|
<param name="container">容器。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.IEnumerableValueProvider">
|
|
<summary>表示值提供程序的基类,这些值提供程序的值来自实现 <see cref="T:System.Collections.IEnumerable" /> 接口的集合。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.IEnumerableValueProvider.GetKeysFromPrefix(System.String)">
|
|
<summary>从指定的 <paramref name="prefix" /> 检索键。</summary>
|
|
<returns>来自指定 <paramref name="prefix" /> 的键。</returns>
|
|
<param name="prefix">前缀。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.IValueProvider">
|
|
<summary>定义 ASP.NET MVC 中的值提供程序所需的方法。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.IValueProvider.ContainsPrefix(System.String)">
|
|
<summary>确定集合是否包含指定的前缀。</summary>
|
|
<returns>如果集合包含指定的前缀,则为 true;否则为 false。</returns>
|
|
<param name="prefix">要搜索的前缀。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.IValueProvider.GetValue(System.String)">
|
|
<summary>使用指定键来检索值对象。</summary>
|
|
<returns>指定的键的值对象。</returns>
|
|
<param name="key">要检索的值对象的键。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.ValueProviderAttribute">
|
|
<summary> 此特性用于指定自定义 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" />。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderAttribute.#ctor(System.Type)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.ValueProviderAttribute" /> 的新实例。</summary>
|
|
<param name="valueProviderFactory">模型联编程序的类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderAttribute.#ctor(System.Type[])">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.ValueProviderAttribute" /> 的新实例。</summary>
|
|
<param name="valueProviderFactories">模型联编程序类型的数组。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderAttribute.GetValueProviderFactories(System.Web.Http.HttpConfiguration)">
|
|
<summary>获取值提供程序工厂。</summary>
|
|
<returns>值提供程序工厂的集合。</returns>
|
|
<param name="configuration">配置对象。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ValueProviders.ValueProviderAttribute.ValueProviderFactoryTypes">
|
|
<summary>获取值提供程序工厂返回的对象的类型。</summary>
|
|
<returns>类型的集合。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.ValueProviderFactory">
|
|
<summary>表示用来创建值提供程序对象的工厂。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderFactory.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.ValueProviderFactory" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderFactory.GetValueProvider(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>为指定控制器上下文返回值提供程序对象。</summary>
|
|
<returns>值提供程序对象。</returns>
|
|
<param name="actionContext">一个对象,该对象封装有关当前 HTTP 请求的信息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.ValueProviderResult">
|
|
<summary>表示将一个值(如窗体发布或查询字符串中的值)绑定到操作方法参数属性或绑定到该参数本身的结果。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderResult.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.ValueProviderResult" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderResult.#ctor(System.Object,System.String,System.Globalization.CultureInfo)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.ValueProviderResult" /> 类的新实例。</summary>
|
|
<param name="rawValue">原始值。</param>
|
|
<param name="attemptedValue">尝试的值。</param>
|
|
<param name="culture">区域性。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ValueProviders.ValueProviderResult.AttemptedValue">
|
|
<summary>获取或设置要转换为字符串,以便显示的原始值。</summary>
|
|
<returns>转换为字符串以便显示的原始值。</returns>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderResult.ConvertTo(System.Type)">
|
|
<summary>将此结果封装的值转换为指定的类型。</summary>
|
|
<returns>转换后的值。</returns>
|
|
<param name="type">目标类型。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.ValueProviderResult.ConvertTo(System.Type,System.Globalization.CultureInfo)">
|
|
<summary>使用指定的区域性信息将此结果封装的值转换为指定的类型。</summary>
|
|
<returns>转换后的值。</returns>
|
|
<param name="type">目标类型。</param>
|
|
<param name="culture">要在转换中使用的区域性。</param>
|
|
</member>
|
|
<member name="P:System.Web.Http.ValueProviders.ValueProviderResult.Culture">
|
|
<summary>获取或设置区域性。</summary>
|
|
<returns>区域性。</returns>
|
|
</member>
|
|
<member name="P:System.Web.Http.ValueProviders.ValueProviderResult.RawValue">
|
|
<summary>获取或设置值提供程序所提供的原始值。</summary>
|
|
<returns>值提供程序所提供的原始值。</returns>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.CompositeValueProvider">
|
|
<summary>表示值提供程序,其值来自实现了 <see cref="T:System.Collections.IEnumerable" /> 接口的值提供程序列表。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.CompositeValueProvider" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.#ctor(System.Collections.Generic.IList{System.Web.Http.ValueProviders.IValueProvider})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.CompositeValueProvider" /> 类的新实例。</summary>
|
|
<param name="list">值提供程序列表。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.ContainsPrefix(System.String)">
|
|
<summary>确定集合是否包含指定的 <paramref name="prefix" />。</summary>
|
|
<returns>如果集合包含指定的 <paramref name="prefix" />,则为 true;否则为 false。</returns>
|
|
<param name="prefix">要搜索的前缀。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.GetKeysFromPrefix(System.String)">
|
|
<summary>从指定的 <paramref name="prefix" /> 检索键。</summary>
|
|
<returns>来自指定 <paramref name="prefix" /> 的键。</returns>
|
|
<param name="prefix">前缀,可从中检索键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.GetValue(System.String)">
|
|
<summary>使用指定的 <paramref name="key" /> 来检索值对象。</summary>
|
|
<returns>指定的 <paramref name="key" /> 的值对象。</returns>
|
|
<param name="key">要检索的值对象的键。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.InsertItem(System.Int32,System.Web.Http.ValueProviders.IValueProvider)">
|
|
<summary>在集合中的指定索引处插入一个元素。</summary>
|
|
<param name="index">从零开始的索引,应在此索引处插入 <paramref name="item" />。</param>
|
|
<param name="item">要插入的对象。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProvider.SetItem(System.Int32,System.Web.Http.ValueProviders.IValueProvider)">
|
|
<summary>替换指定索引处的元素。</summary>
|
|
<param name="index">待替换元素的从零开始的索引。</param>
|
|
<param name="item">位于指定索引处的元素的新值。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.CompositeValueProviderFactory">
|
|
<summary>表示用来创建值提供程序对象列表的工厂。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProviderFactory.#ctor(System.Collections.Generic.IEnumerable{System.Web.Http.ValueProviders.ValueProviderFactory})">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.CompositeValueProviderFactory" /> 类的新实例。</summary>
|
|
<param name="factories">值提供程序工厂的集合。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.CompositeValueProviderFactory.GetValueProvider(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>检索指定控制器上下文的值提供程序对象的列表。</summary>
|
|
<returns>指定控制器上下文的值提供程序对象的列表。</returns>
|
|
<param name="actionContext">一个对象,该对象封装有关当前 HTTP 请求的信息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider">
|
|
<summary>名称/值对的值提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Globalization.CultureInfo)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider" /> 类的新实例。</summary>
|
|
<param name="values">提供程序的名称/值对。</param>
|
|
<param name="culture">用于名称/值对的区域性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider.#ctor(System.Func{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}}},System.Globalization.CultureInfo)">
|
|
<summary>使用用于提供名称/值对的函数委托初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider" /> 类的新实例。</summary>
|
|
<param name="valuesFactory">返回名称/值对的集合的函数委托。</param>
|
|
<param name="culture">用于名称/值对的区域性。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider.ContainsPrefix(System.String)">
|
|
<summary>确定集合是否包含指定的前缀。</summary>
|
|
<returns>如果集合包含指定的前缀,则为 true;否则为 false。</returns>
|
|
<param name="prefix">要搜索的前缀。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider.GetKeysFromPrefix(System.String)">
|
|
<summary>从前缀获取键。</summary>
|
|
<returns>键。</returns>
|
|
<param name="prefix">前缀。</param>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider.GetValue(System.String)">
|
|
<summary>使用指定的键来检索值对象。</summary>
|
|
<returns>指定的键的值对象。</returns>
|
|
<param name="key">要检索的值对象的键。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.QueryStringValueProvider">
|
|
<summary>表示 <see cref="T:System.Collections.Specialized.NameValueCollection" /> 对象中包含的查询字符串的值提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.QueryStringValueProvider.#ctor(System.Web.Http.Controllers.HttpActionContext,System.Globalization.CultureInfo)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.QueryStringValueProvider" /> 类的新实例。</summary>
|
|
<param name="actionContext">一个对象,该对象封装有关当前 HTTP 请求的信息。</param>
|
|
<param name="culture">一个包含有关目标区域性的信息的对象。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.QueryStringValueProviderFactory">
|
|
<summary>表示一个类,该类负责创建查询字符串值提供程序对象的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.QueryStringValueProviderFactory.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.QueryStringValueProviderFactory" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.QueryStringValueProviderFactory.GetValueProvider(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>检索指定控制器上下文的值提供程序对象。</summary>
|
|
<returns>查询字符串值提供程序对象。</returns>
|
|
<param name="actionContext">一个对象,该对象封装有关当前 HTTP 请求的信息。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.RouteDataValueProvider">
|
|
<summary>表示实现 IDictionary(Of TKey, TValue) 接口的对象中包含的路由数据的值提供程序。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.RouteDataValueProvider.#ctor(System.Web.Http.Controllers.HttpActionContext,System.Globalization.CultureInfo)">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.RouteDataValueProvider" /> 类的新实例。</summary>
|
|
<param name="actionContext">一个对象,该对象包含有关 HTTP 请求的信息。</param>
|
|
<param name="culture">一个包含有关目标区域性的信息的对象。</param>
|
|
</member>
|
|
<member name="T:System.Web.Http.ValueProviders.Providers.RouteDataValueProviderFactory">
|
|
<summary>表示用来创建路由数据值提供程序对象的工厂。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.RouteDataValueProviderFactory.#ctor">
|
|
<summary>初始化 <see cref="T:System.Web.Http.ValueProviders.Providers.RouteDataValueProviderFactory" /> 类的新实例。</summary>
|
|
</member>
|
|
<member name="M:System.Web.Http.ValueProviders.Providers.RouteDataValueProviderFactory.GetValueProvider(System.Web.Http.Controllers.HttpActionContext)">
|
|
<summary>检索指定控制器上下文的值提供程序对象。</summary>
|
|
<returns>值提供程序对象。</returns>
|
|
<param name="actionContext">一个对象,该对象封装有关当前 HTTP 请求的信息。</param>
|
|
</member>
|
|
</members>
|
|
</doc>
|