Interface ICodeAutocompleteProvider
OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.ICodeAutocompleteProvider
Namespace: OptimaJet.Workflow.Core.Runtime.CodeAutocomplete
public interface ICodeAutocompleteProviderMethods
void AddVariablesToDefaultCompleterIfEnable(IEnumerable<AutocompleteVariable> variables) #add variables to DefaultAutocompleter. If DefaultAutocompleter is suppressed, nothing will happen. If DefaultAutocompleter is not initialized, init method will be called.
Parameters
Name
Type
Description
variablesIEnumerable<AutocompleteVariable>void AddVariablesToDefaultCompleterIfEnable(string varName, Type varType) #add variables to DefaultAutocompleter. If DefaultAutocompleter is suppressed, nothing will happen. If DefaultAutocompleter is not initialized, init method will be called.
Parameters
Name
Type
Description
varNameStringvarTypeTypeHashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables) #Get autocomplete from all autocompleters that are already initialized
Parameters
Name
Type
Description
patternStringtext for search (like "System.Thr")
usingsIEnumerable<String>list of usings (like "System", "System.Threading")
variablesIEnumerable<AutocompleteVariable>list of allow variables to autocomplete
Returns
Type
Description
HashSet<AutocompleteItem>void InitCodeAutocomletersThatNoInitialized() #void RegisterCodeAutocompleters(params ICodeAutocompleter[] completers) #add code autocompleters but not init
Parameters
Name
Type
Description
completersICodeAutocompleter[]void RunInitTask() #