aspnetcore/src/Microsoft.AspNet.Mvc.Core/ViewComponents/IViewComponentInvoker.cs

15 lines
434 B
C#

// 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 System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc
{
public interface IViewComponentInvoker
{
void Invoke([NotNull] ViewComponentContext context);
Task InvokeAsync([NotNull] ViewComponentContext context);
}
}