using System; using System.Collections.Generic; using Umbraco.Core.ObjectResolution; namespace Umbraco.Core.Strings { /// /// Resolves IUrlSegmentProvider objects. /// public sealed class UrlSegmentProviderResolver : ManyObjectsResolverBase { /// /// Initializes a new instance of the class with an initial list of provider types. /// /// The list of provider types. /// The resolver is created by the WebBootManager and thus the constructor remains internal. internal UrlSegmentProviderResolver(IEnumerable providerTypes) : base(providerTypes) { } /// /// Initializes a new instance of the class with an initial list of provider types. /// /// The list of provider types. /// The resolver is created by the WebBootManager and thus the constructor remains internal. internal UrlSegmentProviderResolver(params Type[] providerTypes) : base(providerTypes) { } /// /// Gets the providers. /// public IEnumerable Providers { get { return Values; } } } }