Class PollByCodeViewComponent
Inheritance
PollByCodeViewComponent
Assembly: Volo.CmsKit.Pro.Common.Web.dll
Syntax
[Widget(ScriptTypes = new Type[] { typeof(PollWidgetScriptContributor) }, ScriptFiles = new string[] { "/Pages/Public/Shared/Components/Poll/PollByCode.js" }, RefreshUrl = "/CmsKitProPublicWidgets/PollByCode", AutoInitialize = true)]
[ViewComponent(Name = "CmsPollByCode")]
public class PollByCodeViewComponent : AbpViewComponent
Constructors
PollByCodeViewComponent(IPollPublicAppService, IOptions<AbpMvcUiOptions>)
Declaration
public PollByCodeViewComponent(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, string, string)
Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string code, string widgetName = null, string returnUrl = null)
Parameters
Returns
Extension Methods