Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface ICodeAutocompleter

OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.ICodeAutocompleter

Provides an abstraction for components that can provide code completion suggestions.

public interface ICodeAutocompleter

Properties

Name
Type
AutocompleterName #
String
Gets the unique name of the autocompleter.
Initialized #
Boolean
Gets a value indicating whether the autocompleter has completed initialization.

Methods

HashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables) #
Gets completion suggestions that match the provided search pattern.

Parameters

Name
Type
Description
pattern
String
Text to match, for example System.Thr.
usings
IEnumerable<String>
Namespaces currently in scope, such as System or System.Threading.
variables
IEnumerable<AutocompleteVariable>
Variables available for completion candidate generation.

Returns

Type
Description
HashSet<AutocompleteItem>
A set of matching autocomplete items.
void InitIfNotInitialized() #
Initializes the autocompleter if it has not yet been initialized.
void AddVariables(IEnumerable<AutocompleteVariable> variables) #
Adds additional variables to the autocomplete index.

Parameters

Name
Type
Description
variables
IEnumerable<AutocompleteVariable>
Variables to include in completion suggestions.

Derived Types