using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Umbraco.Core.ObjectResolution;
namespace Umbraco.Web.Routing
{
///
/// Resolves IUrlProvider objects.
///
public sealed class UrlProviderResolver : 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 UrlProviderResolver(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 UrlProviderResolver(params Type[] providerTypes)
: base(providerTypes)
{ }
///
/// Gets the providers.
///
public IEnumerable Providers
{
get { return Values; }
}
}
}