packages/Microsoft.AspNet.WebPages.1.0.20105.408/lib/net40/System.Web.WebPages.xml
(开头部分) 69KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Web.WebPages</name>
</assembly>
<members>
<member name="T:System.Web.Helpers.AntiForgery">
<summary>Helps prevent malicious scripts from submitting forged page requests.</summary>
</member>
<member name="M:System.Web.Helpers.AntiForgery.GetHtml">
<summary>Adds an authenticating token to a form to help protect against request forgery.</summary>
<returns>Returns a string that contains the encrypted token value in a hidden HTML field.</returns>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> object is null.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.GetHtml(System.Web.HttpContextBase,System.String,System.String,System.String)">
<summary>Adds an authenticating token to a form to help protect against request forgery, allowing callers to specify added authentication details.</summary>
<returns>Returns the encrypted token value in a hidden HTML field.</returns>
<param name="httpContext">The HTTP context data for a request.</param>
<param name="salt">An optional random string of characters (such as Z*7g1&p4) that is used to add complexity to the encryption for extra safety. The default is a null string.</param>
<param name="domain">The domain of a Web application that a request is submitted from.</param>
<param name="path">The virtual root path of a Web application that a request is submitted from.</param>
<exception cref="T:System.ArgumentNullException">The supplied <see cref="T:System.Web.HttpContextBase" /> object is null.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.Validate">
<summary>Validates that input data from an HTML form field comes from the user who submitted the data.</summary>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> value is null.</exception>
<exception cref="T:System.Web.Helpers.HttpAntiForgeryException">The HTTP cookie token that accompanies a valid request is missing-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.Validate(System.Web.HttpContextBase,System.String)">
<summary>Validates that input data from an HTML form field comes from the user who submitted the data, allowing callers to specify additional custom details for the validation.</summary>
<param name="salt">An optional random string of characters (such as Z*7g1&p4) used to decrypt an authentication token created by the <see cref="T:System.Web.Helpers.AntiForgery" /> class. The default is a null string.</param>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> value is null.</exception>
<exception cref="T:System.Web.Helpers.HttpAntiForgeryException">The HTTP cookie token that accompanies a valid request is missing-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.-or-The <paramref name="salt" /> value supplied does not match the <paramref name="salt" /> value used to create the form token.</exception>
</member>
<member name="T:System.Web.Helpers.UnvalidatedRequestValues">
<summary>Provides access to unvalidated values in the <see cref="T:System.Web.HttpRequest" /> object.</summary>
</member>
<member name="P:System.Web.Helpers.UnvalidatedRequestValues.Form">
<summary>Gets a collection of unvalidated Web form values.</summary>
<returns>An unvalidated collection of Web form values.</returns>
</member>
<member name="P:System.Web.Helpers.UnvalidatedRequestValues.Item(System.String)">
<summary>Gets an unvalidated object from a collection in the <see cref="T:System.Web.HttpRequest" /> object.</summary>
<returns>A member of a collection contained in the <see cref="T:System.Web.HttpRequest" /> object.</returns>
<param name="key">The name of the collection member to get.</param>
</member>
<member name="P:System.Web.Helpers.UnvalidatedRequestValues.QueryString">
<summary>Gets a collection of unvalidated query-string values.</summary>
<returns>A collection of unvalidated query-string values.</returns>
</member>
<member name="T:System.Web.Helpers.Validation">
<summary>Excludes fields of the Request object from being checked for potentially unsafe HTML markup.</summary>
</member>
<member name="M:System.Web.Helpers.Validation.Unvalidated(System.Web.HttpRequest)">
<summary>Returns an unvalidated version of form values or query-string values.</summary>
<returns>An <see cref="System.Web.Helpers.UnvalidatedRequestValues" /> object that contains unvalidated versions of the form and query string values.</returns>
<param name="request">The <see cref="T:System.Web.HttpRequest" /> object that contains values to exclude.</param>
</member>
<member name="M:System.Web.Helpers.Validation.Unvalidated(System.Web.HttpRequest,System.String)">
<summary>Returns an unvalidated value from the form or query string based on the field that has been requested.</summary>
后面还有 824 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
