Class ContentTypeServiceBase
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public class ContentTypeServiceBase : ScopeRepositoryService, IService
Constructors
ContentTypeServiceBase(IDatabaseUnitOfWorkProvider, RepositoryFactory, ILogger, IEventMessagesFactory)
Declaration
public ContentTypeServiceBase(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger, IEventMessagesFactory eventMessagesFactory)
Parameters
Methods
GetDescendants(IContentTypeBase)
Declaration
public virtual IEnumerable<IContentTypeBase> GetDescendants(IContentTypeBase contentType)
Parameters
Returns
HasContainerInPath(String)
Given the path of a content item, this will return true if the content item exists underneath a list view content item
Declaration
public bool HasContainerInPath(string contentPath)
Parameters
Type |
Name |
Description |
System.String |
contentPath |
|
Returns
Type |
Description |
System.Boolean |
|