Class HeadlessChannelApplication
Headless channel application.
[UIPermission("View", "{$base.roles.permissions.view$}")]
[UIPermission("Create", "{$base.roles.permissions.create$}")]
[UIPermission("Update", "{$base.roles.permissions.update$}")]
[UIPermission("Delete", "{$base.roles.permissions.delete$}")]
public sealed class HeadlessChannelApplication : ApplicationPage, IPage
- Inheritance
-
objectHeadlessChannelApplication
- Implements
- Inherited Members
- Extension Methods
Constructors
HeadlessChannelApplication(IInfoProvider<HeadlessChannelInfo>)
Initializes an instance of the HeadlessChannelApplication class.
public HeadlessChannelApplication(IInfoProvider<HeadlessChannelInfo> headlessChannelInfoProvider)
Parameters
headlessChannelInfoProvider
IInfoProvider<HeadlessChannelInfo>
Fields
IDENTIFIER
Unique identifier of application.
public const string IDENTIFIER = "Kentico.Xperience.Application.HeadlessChannel"
Field Value
- string
Properties
ChannelApplicationIdentifier
Application identifier.
[PageParameter(typeof(HeadlessChannelApplicationModelBinder), typeof(HeadlessChannelApplication))]
public HeadlessChannelApplicationUrlIdentifier ChannelApplicationIdentifier { get; set; }
Property Value
Methods
ConfigureTemplateProperties(TemplateClientProperties)
Gets the object representing client side template properties.
public override Task<TemplateClientProperties> ConfigureTemplateProperties(TemplateClientProperties properties)
Parameters
properties
TemplateClientPropertiesInitialized properties object.
Returns
- Task<TemplateClientProperties>
GetDefaultRoute(IEnumerable<Route>)
Gets the route which is redirected to, when no route is selected.
protected override Route GetDefaultRoute(IEnumerable<Route> routes)
Parameters
routes
IEnumerable<Route>