// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Razor
{
///
/// Defines methods that are used for creating instances at a given path.
///
public interface IRazorPageFactoryProvider
{
///
/// Creates a factory for the specified path.
///
/// The path to locate the page.
/// The instance.
RazorPageFactoryResult CreateFactory(string relativePath);
}
}