A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.PropertyValidationService.html below:

View Source Class PropertyValidationService Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntax
public class PropertyValidationService : IPropertyValidationService
Constructors View Source PropertyValidationService(PropertyEditorCollection, IDataTypeService, ILocalizedTextService, IValueEditorCache) Declaration
public PropertyValidationService(PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, ILocalizedTextService textService, IValueEditorCache valueEditorCache)
Parameters View Source PropertyValidationService(PropertyEditorCollection, IDataTypeService, ILocalizedTextService, IValueEditorCache, ICultureDictionary) Declaration
public PropertyValidationService(PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, ILocalizedTextService textService, IValueEditorCache valueEditorCache, ICultureDictionary cultureDictionary)
Parameters View Source PropertyValidationService(PropertyEditorCollection, IDataTypeService, ILocalizedTextService, IValueEditorCache, ICultureDictionary, ILanguageService, IOptions<ContentSettings>) Declaration
public PropertyValidationService(PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, ILocalizedTextService textService, IValueEditorCache valueEditorCache, ICultureDictionary cultureDictionary, ILanguageService languageService, IOptions<ContentSettings> contentSettings)
Parameters Methods View Source IsPropertyDataValid(IContent, out IProperty[], CultureImpact)

Validates the content item's properties pass validation rules

Declaration
public bool IsPropertyDataValid(IContent content, out IProperty[] invalidProperties, CultureImpact impact)
Parameters Returns Type Description System.Boolean View Source IsPropertyValid(IProperty, String, String) Declaration
public bool IsPropertyValid(IProperty property, string culture = "*", string segment = "*")
Parameters Type Name Description IProperty property System.String culture System.String segment Returns Type Description System.Boolean View Source IsPropertyValid(IProperty, PropertyValidationContext)

Gets a value indicating whether the property has valid values.

Declaration
public bool IsPropertyValid(IProperty property, PropertyValidationContext validationContext)
Parameters Returns Type Description System.Boolean View Source ValidatePropertyValue(IPropertyType, Object) Declaration
public IEnumerable<ValidationResult> ValidatePropertyValue(IPropertyType propertyType, object postedValue)
Parameters Type Name Description IPropertyType propertyType System.Object postedValue Returns Type Description IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> View Source ValidatePropertyValue(IPropertyType, Object, PropertyValidationContext)

Validates a property value.

Declaration
public IEnumerable<ValidationResult> ValidatePropertyValue(IPropertyType propertyType, object postedValue, PropertyValidationContext validationContext)
Parameters Returns Type Description IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> View Source ValidatePropertyValue(IDataEditor, IDataType, Object, Boolean, String, String, String) Declaration
public IEnumerable<ValidationResult> ValidatePropertyValue(IDataEditor editor, IDataType dataType, object postedValue, bool isRequired, string validationRegExp, string isRequiredMessage, string validationRegExpMessage)
Parameters Type Name Description IDataEditor editor IDataType dataType System.Object postedValue System.Boolean isRequired System.String validationRegExp System.String isRequiredMessage System.String validationRegExpMessage Returns Type Description IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> View Source ValidatePropertyValue(IDataEditor, IDataType, Object, Boolean, String, String, String, PropertyValidationContext)

Validates a property value.

Declaration
public IEnumerable<ValidationResult> ValidatePropertyValue(IDataEditor editor, IDataType dataType, object postedValue, bool isRequired, string validationRegExp, string isRequiredMessage, string validationRegExpMessage, PropertyValidationContext validationContext)
Parameters Type Name Description IDataEditor editor IDataType dataType System.Object postedValue System.Boolean isRequired System.String validationRegExp System.String isRequiredMessage System.String validationRegExpMessage PropertyValidationContext validationContext Returns Type Description IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4