Class ContentPropertyValidationResult
Custom System.
Inheritance
System.Object
System.ComponentModel.DataAnnotations.ValidationResult
Namespace: Umbraco.Cms.Web.BackOffice.PropertyEditors.Validation
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class ContentPropertyValidationResult : ValidationResult
Remarks
This clones the original result and then ensures the nested result if it's the correct type. 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 SourceContentPropertyValidationResult(ValidationResult, String, String)
Declaration
public ContentPropertyValidationResult(ValidationResult nested, string culture, string segment)
Parameters
Type | Name | Description |
---|---|---|
System. |
nested | |
System. |
culture | |
System. |
segment |
Properties
View SourceComplexEditorResults
Nested validation results for the content property
Declaration
public ComplexEditorValidationResult? ComplexEditorResults { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
There can be nested results for complex editors that contain other editors
Methods
View SourceToString()
Return the System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |