Class DashboardWidget_VisibleRoles
Inherited Members
Namespace: DataWeb.Data.Controls
Assembly: DataWeb.Core.dll
Syntax
public class DashboardWidget_VisibleRoles : CheckBoxList
Constructors
DashboardWidget_VisibleRoles(Form, IServiceProvider)
Declaration
public DashboardWidget_VisibleRoles(Form form, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
Form | form | |
IServiceProvider | serviceProvider |
Methods
GetListValuesAsync(Dictionary<string, object>, IUser, string, NavigationContext, CancellationToken)
Gets the list values for the control asynchronously.
Declaration
public override Task<IEnumerable<List.ListItem>> GetListValuesAsync(Dictionary<string, object> parameters, IUser user, string itemId = null, NavigationContext navigationContext = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<string, object> | parameters | The parameters used to retrieve the list values. |
IUser | user | The IUser for whom to retrieve the list values. |
string | itemId | The Id of the item to which the list values are associated, if applicable. |
NavigationContext | navigationContext | The NavigationContext, if applicable. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<List.ListItem>> | A task that represents the asynchronous operation and returns the list values for the control. |