Class ServiceContextExtensions
Inheritance
System.Object
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public static class ServiceContextExtensions
Methods
View SourceGetContentTypeService<T>(ServiceContext)
Declaration
public static IContentTypeBaseService<T> GetContentTypeService<T>(this ServiceContext services)
where T : IContentTypeComposition
Parameters
Type | Name | Description |
---|---|---|
ServiceContext | services |
Returns
Type | Description |
---|---|
IContentTypeBaseService<T> |
Type Parameters
Name | Description |
---|---|
T |