Class ObjectExtensionPropertyValidationContext
Inheritance
object
ObjectExtensionPropertyValidationContext
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.ObjectExtending
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public class ObjectExtensionPropertyValidationContext
Constructors
ObjectExtensionPropertyValidationContext(ObjectExtensionPropertyInfo, IHasExtraProperties, List<ValidationResult>, ValidationContext, object?)
Declaration
public ObjectExtensionPropertyValidationContext(ObjectExtensionPropertyInfo objectExtensionPropertyInfo, IHasExtraProperties validatingObject, List<ValidationResult> validationErrors, ValidationContext validationContext, object? value)
Parameters
Type | Name | Description |
---|---|---|
ObjectExtensionPropertyInfo | objectExtensionPropertyInfo | |
IHasExtraProperties | validatingObject | |
System.Collections.Generic.List<T><System.ComponentModel.DataAnnotations.ValidationResult> | validationErrors | |
System.ComponentModel.DataAnnotations.ValidationContext | validationContext | |
object | value |
Properties
ExtensionPropertyInfo
Declaration
public ObjectExtensionPropertyInfo ExtensionPropertyInfo { get; }
Property Value
Type | Description |
---|---|
ObjectExtensionPropertyInfo |
ServiceProvider
Declaration
public IServiceProvider? ServiceProvider { get; }
Property Value
Type | Description |
---|---|
System.IServiceProvider |
ValidatingObject
Declaration
public IHasExtraProperties ValidatingObject { get; }
Property Value
Type | Description |
---|---|
IHasExtraProperties |
ValidationContext
Declaration
public ValidationContext ValidationContext { get; }
Property Value
Type | Description |
---|---|
System.ComponentModel.DataAnnotations.ValidationContext |
ValidationErrors
Declaration
public List<ValidationResult> ValidationErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><System.ComponentModel.DataAnnotations.ValidationResult> |
Value
Declaration
public object? Value { get; }
Property Value
Type | Description |
---|---|
object |