ViewComponentHelperExtensions Class

Syntax

public class ViewComponentHelperExtensions

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ViewComponentHelperExtensions

Methods

Microsoft.AspNet.Mvc.ViewComponentHelperExtensions.InvokeAsync<TComponent>(Microsoft.AspNet.Mvc.IViewComponentHelper, System.Object[])
Arguments:
Return type:

System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.Rendering.HtmlString}

public static Task<HtmlString> InvokeAsync<TComponent>(IViewComponentHelper helper, params object[] args)
Microsoft.AspNet.Mvc.ViewComponentHelperExtensions.Invoke<TComponent>(Microsoft.AspNet.Mvc.IViewComponentHelper, System.Object[])
Arguments:
Return type:

Microsoft.AspNet.Mvc.Rendering.HtmlString

public static HtmlString Invoke<TComponent>(IViewComponentHelper helper, params object[] args)
Microsoft.AspNet.Mvc.ViewComponentHelperExtensions.RenderInvokeAsync<TComponent>(Microsoft.AspNet.Mvc.IViewComponentHelper, System.Object[])
Arguments:
Return type:

System.Threading.Tasks.Task

public static Task RenderInvokeAsync<TComponent>(IViewComponentHelper helper, params object[] args)
Microsoft.AspNet.Mvc.ViewComponentHelperExtensions.RenderInvoke<TComponent>(Microsoft.AspNet.Mvc.IViewComponentHelper, System.Object[])
Arguments:
public static void RenderInvoke<TComponent>(IViewComponentHelper helper, params object[] args)