// 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 page. /// Indicates that execution of the page should be instrumented. /// The IRazorPage instance if it exists, null otherwise. IRazorPage CreateInstance(string relativePath, bool enableInstrumentation); } }