IViewComponentHelper Interface

Syntax

public interface IViewComponentHelper

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.IViewComponentHelper

Methods

Invoke(System.String, System.Object[])
Arguments:
  • name (System.String) –
  • args (System.Object[]) –
Return type:

Microsoft.AspNet.Mvc.Rendering.HtmlString

HtmlString Invoke(string name, params object[] args)
Invoke(System.Type, System.Object[])
Arguments:
  • componentType (System.Type) –
  • args (System.Object[]) –
Return type:

Microsoft.AspNet.Mvc.Rendering.HtmlString

HtmlString Invoke(Type componentType, params object[] args)
InvokeAsync(System.String, System.Object[])
Arguments:
  • name (System.String) –
  • args (System.Object[]) –
Return type:

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

Task<HtmlString> InvokeAsync(string name, params object[] args)
InvokeAsync(System.Type, System.Object[])
Arguments:
  • componentType (System.Type) –
  • args (System.Object[]) –
Return type:

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

Task<HtmlString> InvokeAsync(Type componentType, params object[] args)
RenderInvoke(System.String, System.Object[])
Arguments:
  • name (System.String) –
  • args (System.Object[]) –
void RenderInvoke(string name, params object[] args)
RenderInvoke(System.Type, System.Object[])
Arguments:
  • componentType (System.Type) –
  • args (System.Object[]) –
void RenderInvoke(Type componentType, params object[] args)
RenderInvokeAsync(System.String, System.Object[])
Arguments:
  • name (System.String) –
  • args (System.Object[]) –
Return type:

System.Threading.Tasks.Task

Task RenderInvokeAsync(string name, params object[] args)
RenderInvokeAsync(System.Type, System.Object[])
Arguments:
  • componentType (System.Type) –
  • args (System.Object[]) –
Return type:

System.Threading.Tasks.Task

Task RenderInvokeAsync(Type componentType, params object[] args)