Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Interface ICodeAutocompleter

Namespace: OptimaJet.Workflow.Core.Runtime.CodeAutocomplete

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface ICodeAutocompleter

Methods

Get(string, IEnumerable<string>, IEnumerable<AutocompleteVariable>)

Get autocomplete from all autocompleters that yet initialized

Declaration
HashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables)
Parameters
TypeNameDescription
stringpatterntext for search (like "System.Thr")
IEnumerable<string>usingslist of usings (like "System", "System.Threading")
IEnumerable<AutocompleteVariable>variableslist of allow variables to autocomplete
Returns
TypeDescription
HashSet<AutocompleteItem>

InitIfNotInitialized()

Declaration
void InitIfNotInitialized()

AddVariables(IEnumerable<AutocompleteVariable>)

Declaration
void AddVariables(IEnumerable<AutocompleteVariable> variables)
Parameters
TypeNameDescription
IEnumerable<AutocompleteVariable>variables

Extension Methods