// 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
{
///
/// Represents the contract for an that executes as part of its
/// execution.
///
public interface IRazorView : IView
{
///
/// Contextualizes the current instance of the providing it with the
/// to execute.
///
/// The instance to execute.
/// Determines if the view is to be executed as a partial.
void Contextualize(IRazorPage razorPage, bool isPartial);
}
}