Show / Hide Table of Contents

Class PollByCodeViewComponent

Inheritance
object
PollByCodeViewComponent
Namespace: Volo.CmsKit.Pro.Public.Web.Pages.Public.Shared.Components.Poll
Assembly: Volo.CmsKit.Pro.Public.Web.dll
Syntax
[ViewComponent(Name = "CmsPollByCode")]
public class PollByCodeViewComponent : AbpViewComponent

Constructors

PollByCodeViewComponent(IPollPublicAppService, IOptions<AbpMvcUiOptions>)

Declaration
public PollByCodeViewComponent(IPollPublicAppService pollPublicAppService, IOptions<AbpMvcUiOptions> options)
Parameters
Type Name Description
IPollPublicAppService pollPublicAppService
IOptions<AbpMvcUiOptions> options

Properties

AbpMvcUiOptions

Declaration
protected IOptions<AbpMvcUiOptions> AbpMvcUiOptions { get; }
Property Value
Type Description
IOptions<AbpMvcUiOptions>

PollPublicAppService

Declaration
protected IPollPublicAppService PollPublicAppService { get; }
Property Value
Type Description
IPollPublicAppService

Methods

InvokeAsync(string, string, string)

Declaration
public virtual Task<IViewComponentResult> InvokeAsync(string code, string widgetName = null, string returnUrl = null)
Parameters
Type Name Description
string code
string widgetName
string returnUrl
Returns
Type Description
Task<IViewComponentResult>
In this article
Back to top Powered by Volosoft