Class PollViewComponent
Inheritance
PollViewComponent
Assembly: Volo.CmsKit.Pro.Common.Web.dll
Syntax
[Widget(ScriptTypes = new Type[] { typeof(PollWidgetScriptContributor) }, ScriptFiles = new string[] { "/Pages/Public/Shared/Components/Poll/Poll.js" }, RefreshUrl = "/CmsKitProPublicWidgets/Poll", AutoInitialize = true)]
[ViewComponent(Name = "CmsPoll")]
public class PollViewComponent : AbpViewComponent
Constructors
PollViewComponent(IPollPublicAppService, IOptions<AbpMvcUiOptions>)
Declaration
public PollViewComponent(IPollPublicAppService pollPublicAppService, IOptions<AbpMvcUiOptions> options)
Parameters
Properties
AbpMvcUiOptions
Declaration
protected IOptions<AbpMvcUiOptions> AbpMvcUiOptions { get; }
Property Value
PollPublicAppService
Declaration
protected IPollPublicAppService PollPublicAppService { get; }
Property Value
Methods
InvokeAsync(string)
Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string widgetName)
Parameters
Type |
Name |
Description |
string |
widgetName |
|
Returns
Extension Methods