Class ModuleList
Assembly: DataWeb.Core.dll
Syntax
public class ModuleList : Module
Constructors
ModuleList(Section, NavigationContext, IServiceProvider)
Declaration
public ModuleList(Section section, NavigationContext navigationContext, IServiceProvider serviceProvider)
Parameters
Methods
CloneAsync(Item, Item, CancellationToken)
Clones the provided item's module data to a new item.
Declaration
public override Task CloneAsync(Item item, Item itemCloned, CancellationToken cancellationToken = default)
Parameters
Returns
Type |
Description |
Task |
A task that represents the asynchronous clone operation.
|
Overrides
GetActionsAsync(CancellationToken)
Declaration
public override Task<List<ContextAction>> GetActionsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
GetContextItemsAsync(bool, List<string>, CancellationToken)
Declaration
public virtual Task<ModuleList.ContextItemResult> GetContextItemsAsync(bool isPagination = false, List<string> itemIdMasters = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetDataAsync(IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<ModuleList.ListData> GetDataAsync(IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
GetDeferredDataAsync(ItemsParams, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<IEnumerable<ModuleList.DeferredItem>> GetDeferredDataAsync(ModuleList.ItemsParams itemsParams, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
GetSearchSuggestionsAsync(SearchSuggestionFilter, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<IEnumerable<string>> GetSearchSuggestionsAsync(ModuleList.SearchSuggestionFilter suggestionFilter, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
IsCompletedAsync(Item, Section, CancellationToken)
Determines whether the provided item is completed for the current section.
Declaration
public override Task<bool> IsCompletedAsync(Item item, Section currentSection, CancellationToken cancellationToken = default)
Parameters
Returns
Type |
Description |
Task<bool> |
A task that represents the asynchronous check operation. The result is a boolean indicating whether the item is completed.
|
Overrides
ProcessActionAsync(ContextAction, IUser, List<string>, List<ProvidedValue>, NavigationContext, CancellationToken)
Declaration
public override Task<ContextAction.Result> ProcessActionAsync(ContextAction action, IUser user, List<string> itemIds = null, List<Form.ProvidedValue> controlValues = null, NavigationContext navigationContext = null, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
ProcessExportAsync(IEnumerable<ContextItem>, CancellationToken)
Declaration
public virtual Task<Stream> ProcessExportAsync(IEnumerable<ContextItem> contextItems, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessOnItemCloneAsync(Item, Item, Navigation, CancellationToken)
Declaration
public virtual Task ProcessOnItemCloneAsync(Item item, Item itemSource, Navigation itemNavigation, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessOnItemDeleteAsync(Item, Navigation, CancellationToken)
Declaration
public virtual Task ProcessOnItemDeleteAsync(Item item, Navigation itemNavigation, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessOnItemMoveAsync(Item, Navigation, CancellationToken)
Declaration
public virtual Task ProcessOnItemMoveAsync(Item item, Navigation itemNavigation, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessOnItemSetStatusAsync(Item, ItemStatus, Navigation, CancellationToken)
Declaration
public virtual Task ProcessOnItemSetStatusAsync(Item item, ItemStatus previousStatus, Navigation itemNavigation, CancellationToken cancellationToken = default)
Parameters
Returns
SetLayoutAsync(LayoutUpdate, CancellationToken)
Declaration
public virtual Task SetLayoutAsync(ModuleList.LayoutUpdate layoutUpdate, CancellationToken cancellationToken = default)
Parameters
Returns
SetOrderByAsync(OrderByUpdate, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task SetOrderByAsync(ModuleList.OrderByUpdate orderByUpdate, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
SetPageIndexAsync(PageIndexUpdate, CancellationToken)
Declaration
public virtual Task SetPageIndexAsync(ModuleList.PageIndexUpdate pageIndexUpdate, CancellationToken cancellationToken = default)
Parameters
Returns
SetSearchAsync(SearchUpdate, CancellationToken)
Declaration
public virtual Task SetSearchAsync(ModuleList.SearchUpdate searchUpdate, CancellationToken cancellationToken = default)
Parameters
Returns