Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface ICodeAutocompleteProvider

OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.ICodeAutocompleteProvider

public interface ICodeAutocompleteProvider

Methods

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
variables
IEnumerable<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
varName
String
varType
Type
HashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables) #
Get autocomplete from all autocompleters that are already initialized

Parameters

Name
Type
Description
pattern
String
text for search (like "System.Thr")
usings
IEnumerable<String>
list of usings (like "System", "System.Threading")
variables
IEnumerable<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
completers
ICodeAutocompleter[]

Derived Types