// 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. using System.Threading.Tasks; using Microsoft.AspNet.Mvc.Rendering; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ViewEngines { /// /// Specifies the contract for a view. /// public interface IView { /// /// Gets the path of the view as resolved by the . /// string Path { get; } /// /// Asynchronously renders the view using the specified . /// /// The . /// A that on completion renders the view. Task RenderAsync([NotNull] ViewContext context); } }