packages/System.ComponentModel.Annotations.5.0.0/ref/netstandard2.0/System.ComponentModel.Annotations.xml
(开头部分) 89KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.ComponentModel.Annotations</name>
</assembly>
<members>
<member name="T:System.ComponentModel.DataAnnotations.ValidationException">
<summary>Represents the exception that occurs during validation of a data field when the <see cref="T:System.ComponentModel.DataAnnotations.ValidationAttribute"></see> class is used.</summary>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class using an error message generated by the system.</summary>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class using a specified error message.</summary>
<param name="message">A specified message that states the error.</param>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class using serialized data.</summary>
<param name="info">The object that holds the serialized data.</param>
<param name="context">Context information about the source or destination of the serialized object.</param>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor(System.String,System.Exception)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class using a specified error message and a collection of inner exception instances.</summary>
<param name="message">The error message.</param>
<param name="innerException">The collection of validation exceptions.</param>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor(System.ComponentModel.DataAnnotations.ValidationResult,System.ComponentModel.DataAnnotations.ValidationAttribute,System.Object)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class by using a validation result, a validation attribute, and the value of the current exception.</summary>
<param name="validationResult">The list of validation results.</param>
<param name="validatingAttribute">The attribute that caused the current exception.</param>
<param name="value">The value of the object that caused the attribute to trigger the validation error.</param>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationException.#ctor(System.String,System.ComponentModel.DataAnnotations.ValidationAttribute,System.Object)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationException"></see> class using a specified error message, a validation attribute, and the value of the current exception.</summary>
<param name="errorMessage">The message that states the error.</param>
<param name="validatingAttribute">The attribute that caused the current exception.</param>
<param name="value">The value of the object that caused the attribute to trigger validation error.</param>
</member>
<member name="P:System.ComponentModel.DataAnnotations.ValidationException.ValidationAttribute">
<summary>Gets the instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationAttribute"></see> class that triggered this exception.</summary>
<returns>An instance of the validation attribute type that triggered this exception.</returns>
</member>
<member name="P:System.ComponentModel.DataAnnotations.ValidationException.ValidationResult">
<summary>Gets the <see cref="P:System.ComponentModel.DataAnnotations.ValidationException.ValidationResult"></see> instance that describes the validation error.</summary>
<returns>The <see cref="System.ComponentModel.DataAnnotations.ValidationException.ValidationResult"></see> instance that describes the validation error.</returns>
</member>
<member name="P:System.ComponentModel.DataAnnotations.ValidationException.Value">
<summary>Gets the value of the object that causes the <see cref="T:System.ComponentModel.DataAnnotations.ValidationAttribute"></see> class to trigger this exception.</summary>
<returns>The value of the object that caused the <see cref="System.ComponentModel.DataAnnotations.ValidationAttribute"></see> class to trigger the validation error.</returns>
</member>
<member name="T:System.ComponentModel.DataAnnotations.ValidationResult">
<summary>Represents a container for the results of a validation request.</summary>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationResult.#ctor(System.ComponentModel.DataAnnotations.ValidationResult)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationResult"></see> class by using a <see cref="T:System.ComponentModel.DataAnnotations.ValidationResult"></see> object.</summary>
<param name="validationResult">The validation result object.</param>
</member>
<member name="M:System.ComponentModel.DataAnnotations.ValidationResult.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.ValidationResult"></see> class by using an error message.</summary>
<param name="errorMessage">The error message.</param>
</member>
后面还有 1002 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
