// 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 Microsoft.AspNetCore.Mvc.Rendering;
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
{
///
/// Contract for contextualizing a property activated by a view with the .
///
/// This interface is used for contextualizing properties added to a Razor page using @inject.
public interface IViewContextAware
{
///
/// Contextualizes the instance with the specified .
///
/// The .
void Contextualize(ViewContext viewContext);
}
}