Class AggregatingDesignerAutocompleteProvider
OptimaJet.Workflow.Core.Runtime.AggregatingDesignerAutocompleteProvider
Combines suggestions from every applicable IDesignerAutocompleteProvider implementation.
Namespace: OptimaJet.Workflow.Core.Runtime
public class AggregatingDesignerAutocompleteProvider : BaseAggregatingProvider<IDesignerAutocompleteProvider>, IDesignerAutocompleteProviderType Hierarchy
- BaseAggregatingProvider<IDesignerAutocompleteProvider>
- AggregatingDesignerAutocompleteProvider Current type
- Implemented interfaces
- AggregatingDesignerAutocompleteProvider Current type
Methods
public List<string> GetAutocompleteSuggestions(SuggestionCategory category, string value, string schemeCode) #Gets a list of autocomplete suggestion strings for the specified category and context.
Parameters
Name
Type
Description
categorySuggestionCategoryThe suggestion category that determines the editor context.
valueStringThe rule, action, or condition name used as context for suggestions.
schemeCodeStringThe scheme code for which suggestions are requested.
Returns
Type
Description
List<String>A list of suggestion strings to display, or null when no suggestions are available.
Remarks
The same
category, value, and schemeCode values are passed to every applicable provider. Results are appended in provider priority order without deduplication.Remarks
For a scheme, both global providers and providers registered specifically for that scheme are applicable. Providers are queried from the most recently registered to the earliest, regardless of registration scope. Unlike single-result aggregators, this provider queries every applicable provider and appends every non-null, non-empty result. It preserves provider result order and does not remove duplicate suggestions.