Свойство | Тип | Описание | |
---|---|---|---|
_innerAttribute | System.ComponentModel.DataAnnotations.RequiredAttribute |
Метод | Описание | |
---|---|---|
AddValidation ( Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context ) : void | ||
RequiredWhenAttribute ( string dependentProperty, object targetValue ) : Microsoft.Extensions.Localization |
Метод | Описание | |
---|---|---|
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult | ||
value | object | |
validationContext | System.ComponentModel.DataAnnotations.ValidationContext | |
Результат | System.ComponentModel.DataAnnotations.ValidationResult |
public RequiredWhenAttribute ( string dependentProperty, object targetValue ) : Microsoft.Extensions.Localization | ||
dependentProperty | string | |
targetValue | object | |
Результат | Microsoft.Extensions.Localization |