// Copyright (c) Microsoft Open Technologies, Inc. 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 RazorPage. /// The RazorPage instance if it exists, null otherwise. RazorPage CreateInstance(string viewPath); } }