Class Section_PermissionSetName
Inherited Members
Namespace: DataWeb.Data.Controls
Assembly: DataWeb.Core.dll
Syntax
public class Section_PermissionSetName : DropDownList
Constructors
Section_PermissionSetName(Form, IServiceProvider)
Declaration
public Section_PermissionSetName(Form form, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Form | form | |
| IServiceProvider | serviceProvider |
Methods
GetListValuesAsync(Dictionary<string, object>, IUser, string, NavigationContext, CancellationToken)
Gets the selectable list items for the control asynchronously. When DataSourceMode is "List",
the items are loaded from the list identified by DataSource. Override to provide a custom data source.
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 | Optional parameters forwarded to the data source. |
| IUser | user | The IUser requesting the list values. |
| string | itemId | The Id of the item for which the list values are requested, if applicable. |
| NavigationContext | navigationContext | The NavigationContext, if applicable. |
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<List.ListItem>> | A task that represents the asynchronous operation and returns the list items for the control. |