Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class DefaultAutocompleter

OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.DefaultAutocompleter

public class DefaultAutocompleter : ICodeAutocompleter

Inheritance

  • System.Object

Implemented Interfaces

Constructors

public DefaultAutocompleter(Action<Exception, string> log) #

Parameters

Name
Type
Description
log
Action<String>
public DefaultAutocompleter(Action<Exception, string> log, ITypeSearcher typeSearcher) #

Parameters

Name
Type
Description
log
Action<String>
typeSearcher
ITypeSearcher

Properties

Name
Type
AutocompleterName #
String
Unique name
Initialized #
Boolean

Methods

public HashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables) #
Get autocomplete from all autocompleters that yet 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>
public void InitIfNotInitialized() #
public void AddVariables(IEnumerable<AutocompleteVariable> variables) #

Parameters

Name
Type
Description
variables
IEnumerable<AutocompleteVariable>

Fields

public static string DefaultAutocompleterName #