Search Results for

    Show / Hide Table of Contents
    View Source

    Class DefaultUrlSegmentProvider

    Default implementation of IUrlSegmentProvider.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Strings
    Assembly: Umbraco.Core.dll
    Syntax
    public class DefaultUrlSegmentProvider : IUrlSegmentProvider

    Constructors

    View Source

    DefaultUrlSegmentProvider(IShortStringHelper)

    Declaration
    public DefaultUrlSegmentProvider(IShortStringHelper shortStringHelper)
    Parameters
    Type Name Description
    IShortStringHelper shortStringHelper

    Methods

    View Source

    GetUrlSegment(IContentBase, String)

    Gets the URL segment for a specified content and culture.

    Declaration
    public string GetUrlSegment(IContentBase content, string culture = null)
    Parameters
    Type Name Description
    IContentBase content

    The content.

    System.String culture

    The culture.

    Returns
    Type Description
    System.String

    The URL segment.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX