13-001 ViewComponents IViewComponentActivator
Posted on 2015-04-27 15:36 DotNet1010 阅读(171) 评论(0) 收藏 举报接口定义:
/// <summary>
/// Provides methods to activate an instantiated ViewComponent
/// </summary>
public interface IViewComponentActivator
{
/// <summary>
/// When implemented in a type, activates an instantiated ViewComponent.
/// </summary>
/// <param name="viewComponent">The ViewComponent to activate.</param>
/// <param name="context">The <see cref="ViewContext"/> for the executing <see cref="ViewComponent"/>.</param>
void Activate(object viewComponent, ViewContext context);
}
浙公网安备 33010602011771号