Class HeadlessChannelContentLanguage
Page with language context used by UI pages related to an headless channel.
[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class HeadlessChannelContentLanguage : Page<HeadlessChannelContentLanguageClientProperties>, IPage
- Inheritance
-
objectHeadlessChannelContentLanguage
- Implements
- Inherited Members
- Extension Methods
Constructors
HeadlessChannelContentLanguage(IContentLanguageModelRetriever)
Initializes a new instance of HeadlessChannelContentLanguage.
public HeadlessChannelContentLanguage(IContentLanguageModelRetriever contentLanguageModelRetriever)
Parameters
contentLanguageModelRetriever
IContentLanguageModelRetriever
Properties
LanguageName
Content language codename.
[PageParameter(typeof(StringPageModelBinder), typeof(HeadlessChannelContentLanguage))]
public string LanguageName { get; set; }
Property Value
- string
Methods
ConfigureTemplateProperties(HeadlessChannelContentLanguageClientProperties)
Gets the object representing client side template properties.
public override Task<HeadlessChannelContentLanguageClientProperties> ConfigureTemplateProperties(HeadlessChannelContentLanguageClientProperties properties)
Parameters
properties
HeadlessChannelContentLanguageClientPropertiesInitialized properties object.
Returns
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>