View Source
Class ElementSwitchValidator
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class ElementSwitchValidator : IElementSwitchValidator
Constructors
View Source
ElementSwitchValidator(IContentTypeService, PropertyEditorCollection, IDataTypeService)
Declaration
public ElementSwitchValidator(IContentTypeService contentTypeService, PropertyEditorCollection propertyEditorCollection, IDataTypeService dataTypeService)
Parameters
Methods
View Source
AncestorsAreAlignedAsync(IContentType)
Declaration
public async Task<bool> AncestorsAreAlignedAsync(IContentType contentType)
Parameters
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
DescendantsAreAlignedAsync(IContentType)
Declaration
public async Task<bool> DescendantsAreAlignedAsync(IContentType contentType)
Parameters
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
DocumentToElementHasNoContentAsync(IContentTypeBase)
Declaration
public async Task<bool> DocumentToElementHasNoContentAsync(IContentTypeBase contentType)
Parameters
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
ElementToDocumentNotUsedInBlockStructuresAsync(IContentTypeBase)
Declaration
public async Task<bool> ElementToDocumentNotUsedInBlockStructuresAsync(IContentTypeBase contentType)
Parameters
Returns
Type |
Description |
Task<System.Boolean> |
|