November Happy Hour will be moved to Thursday December 5th.

Class ContentTypeStore

Inheritance
System.Object
ContentTypeStore
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Namespace: EPiServer.Cms.Shell.UI.Rest.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
[RestStore("contenttype")]
public class ContentTypeStore : RestControllerBase, IAsyncController, IController, IAsyncManagerContainer

Constructors

ContentTypeStore(ContentTypeAvailabilityService, IContentTypeRepository, IContentLoader, ContentTypeModelRepository, UIDescriptorRegistry, IEnumerable<IContentTypeAdvisor>, ModuleTable, ServiceAccessor<SiteDefinition>, FilterContentTypes)

Declaration
public ContentTypeStore(ContentTypeAvailabilityService contentTypeAvailabilityService, IContentTypeRepository contentTypeRepository, IContentLoader contentLoader, ContentTypeModelRepository contentTypeModelRepository, UIDescriptorRegistry descriptorRegistry, IEnumerable<IContentTypeAdvisor> advisors, ModuleTable moduleTable, ServiceAccessor<SiteDefinition> currentSiteDefinition, FilterContentTypes filterContentTypes)
Parameters
Type Name Description
ContentTypeAvailabilityService contentTypeAvailabilityService
IContentTypeRepository contentTypeRepository
IContentLoader contentLoader
ContentTypeModelRepository contentTypeModelRepository
UIDescriptorRegistry descriptorRegistry
System.Collections.Generic.IEnumerable<IContentTypeAdvisor> advisors
ModuleTable moduleTable
ServiceAccessor<SiteDefinition> currentSiteDefinition
FilterContentTypes filterContentTypes

Methods

Get(Nullable<Int32>, String, ContentReference, Nullable<Boolean>, IEnumerable<String>)

Declaration
public ActionResult Get(int? id, string query, ContentReference parentReference, bool? localAsset, IEnumerable<string> requestedTypes)
Parameters
Type Name Description
System.Nullable<System.Int32> id
System.String query
ContentReference parentReference
System.Nullable<System.Boolean> localAsset
System.Collections.Generic.IEnumerable<System.String> requestedTypes
Returns
Type Description
System.Web.Mvc.ActionResult

Implements

System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer

Extension Methods