Class UrlSegmentProviderCollection
Represents a collection of IUrlSegmentProvider instances.
Namespace: Umbraco.Cms.Core.Strings
Assembly: Umbraco.Core.dll
Syntax
public class UrlSegmentProviderCollection : BuilderCollectionBase<IUrlSegmentProvider>, IBuilderCollection<IUrlSegmentProvider>
Remarks
This collection is built by UrlSegmentProviderCollectionBuilder and provides URL segment providers in priority order.
Constructors
View SourceUrlSegmentProviderCollection(Func<IEnumerable<IUrlSegmentProvider>>)
Initializes a new instance of the UrlSegmentProviderCollection class.
Declaration
public UrlSegmentProviderCollection(Func<IEnumerable<IUrlSegmentProvider>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IEnumerable<IUrlSegmentProvider>> | items | A factory function that returns the collection of URL segment providers. |