// 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. using Microsoft.AspNet.Mvc.Rendering; namespace Microsoft.AspNet.Mvc.Razor { /// /// Defines methods to create instances with a given . /// public interface IRazorViewFactory { /// /// Creates a providing it with the to execute. /// /// The instance to execute. /// Determines if the view is to be executed as a partial. /// A instance that renders the contents of the specified IView GetView([NotNull] IRazorPage page, bool isPartial); } }