Class DefaultUrlSegmentProvider
Default implementation of IUrlSegmentProvider.
Inheritance
System.Object
Namespace: Umbraco.Core.Strings
Assembly: Umbraco.Core.dll
Syntax
public class DefaultUrlSegmentProvider : IUrlSegmentProvider
Methods
View SourceGetUrlSegment(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. |