Class ContentTypeController
Inheritance
ContentTypeController
Assembly: DotNetNuke.dll
Syntax
public class ContentTypeController : IContentTypeController
Constructors
ContentTypeController()
Declaration
[Obsolete("Deprecated in DotNetNuke 10.2.4. Please use overload with IHostSettings. Scheduled removal in v12.0.0.")]
public ContentTypeController()
ContentTypeController(IDataService)
Declaration
[Obsolete("Deprecated in DotNetNuke 10.2.4. Please use overload with IHostSettings. Scheduled removal in v12.0.0.")]
public ContentTypeController(IDataService dataService)
Parameters
ContentTypeController(IDataService, IHostSettings)
Declaration
public ContentTypeController(IDataService dataService, IHostSettings hostSettings)
Parameters
Methods
AddContentType(ContentType)
Declaration
public int AddContentType(ContentType contentType)
Parameters
Returns
ClearContentTypeCache()
Declaration
public void ClearContentTypeCache()
DeleteContentType(ContentType)
Declaration
public void DeleteContentType(ContentType contentType)
Parameters
GetContentTypes()
Declaration
public IQueryable<ContentType> GetContentTypes()
Returns
UpdateContentType(ContentType)
Declaration
public void UpdateContentType(ContentType contentType)
Parameters
Implements
Extension Methods