// 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 IRazorPageFactory { /// /// Creates a for the specified path. /// /// The path to locate the page. /// The IRazorPage instance if it exists, null otherwise. IRazorPage CreateInstance(string relativePath); } }