ContentTypeService
using Umbraco.Cms.Core.Services;@using Umbraco.Cms.Core.ServicesGetting the service
Dependency Injection
public class MyClass
{
private IContentTypeService _contentTypeService;
public MyClass(IContentTypeService contentTypeService)
{
_contentTypeService = contentTypeService;
}
}Samples
Last updated
Was this helpful?