Interface IContentTypeBaseServiceProvider
Provides the IContent
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IContentTypeBaseServiceProvider
Methods
View SourceFor(IContentBase)
Gets the content type service base managing types for the specified content base.
Declaration
IContentTypeBaseService For(IContentBase contentBase)
Parameters
Type | Name | Description |
---|---|---|
IContent |
contentBase |
Returns
Type | Description |
---|---|
IContent |
Remarks
If contentBase
is an IContent, this returns the
IContent
Services are returned as IContent
GetContentTypeOf(IContentBase)
Gets the content type of an IContent
Declaration
IContentTypeComposition GetContentTypeOf(IContentBase contentBase)
Parameters
Type | Name | Description |
---|---|---|
IContent |
contentBase |
Returns
Type | Description |
---|---|
IContent |