using System; using System.Collections.Generic; using Umbraco.Core.ObjectResolution; namespace Umbraco.Web.Routing { /// /// Resolves IPublishedContentFinder objects. /// public sealed class ContentFinderResolver : ManyObjectsResolverBase { /// /// Initializes a new instance of the class with an initial list of finder types. /// /// The list of finder types /// The resolver is created by the WebBootManager and thus the constructor remains internal. internal ContentFinderResolver(IEnumerable finders) : base(finders) { } /// /// Initializes a new instance of the class with an initial list of finder types. /// /// The list of finder types /// The resolver is created by the WebBootManager and thus the constructor remains internal. internal ContentFinderResolver(params Type[] finders) : base(finders) { } /// /// Gets the finders. /// public IEnumerable Finders { get { return Values; } } } }