Class ComplexEditorPropertyTypeValidationResult
A collection of System.ComponentModel.DataAnnotations.ValidationResult for a property type within a complex editor represented by an Element Type
Inheritance
System.Object
System.ComponentModel.DataAnnotations.ValidationResult
Namespace: Umbraco.Web.PropertyEditors.Validation
Assembly: Umbraco.Web.dll
Syntax
public class ComplexEditorPropertyTypeValidationResult : ValidationResult
Remarks
For a more indepth explanation of how server side validation works with the angular app, see this GitHub PR: https://github.com/umbraco/Umbraco-CMS/pull/8339
Constructors
View SourceComplexEditorPropertyTypeValidationResult(String)
Declaration
public ComplexEditorPropertyTypeValidationResult(string propertyTypeAlias)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyTypeAlias |
Properties
View SourcePropertyTypeAlias
Declaration
public string PropertyTypeAlias { get; }
Property Value
Type | Description |
---|---|
System.String |
ValidationResults
Declaration
public IReadOnlyList<ValidationResult> ValidationResults { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.ComponentModel.DataAnnotations.ValidationResult> |
Methods
View SourceAddValidationResult(ValidationResult)
Declaration
public void AddValidationResult(ValidationResult validationResult)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.DataAnnotations.ValidationResult | validationResult |