Property | Type | Description | |
---|---|---|---|
_innerAttribute | System.ComponentModel.DataAnnotations.RequiredAttribute |
Method | Description | |
---|---|---|
AddValidation ( Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context ) : void | ||
RequiredWhenAttribute ( string dependentProperty, object targetValue ) : Microsoft.Extensions.Localization |
Method | Description | |
---|---|---|
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult |
Method | Description | |
---|---|---|
CheckForLocalizer ( Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context ) : void | ||
GetErrorMessage ( string displayName ) : string | ||
MergeAttribute ( string>.IDictionary |
public AddValidation ( Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context ) : void | ||
context | Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext | |
return | void |
protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult | ||
value | object | |
validationContext | System.ComponentModel.DataAnnotations.ValidationContext | |
return | System.ComponentModel.DataAnnotations.ValidationResult |
public RequiredWhenAttribute ( string dependentProperty, object targetValue ) : Microsoft.Extensions.Localization | ||
dependentProperty | string | |
targetValue | object | |
return | Microsoft.Extensions.Localization |