Esempio n. 1
0
 public EnvironmentHandler(Action<string> dispatch, ICodeEngineLocator locator, ILocateEditorEngine editorLocator, EnvironmentService environment)
 {
     _dispatch = dispatch;
     _locator = locator;
     _editorLocator = editorLocator;
     _environment = environment;
 }
Esempio n. 2
0
 public EnvironmentService(string defaultLanguage, string[] enabledLanguages, Func <PluginLocator> pluginLocator, ICodeEngineLocator codeEnginelocator, ILocateEditorEngine editorLocator)
 {
     _defaultLanguage   = defaultLanguage;
     _enabledLanguages  = enabledLanguages;
     _pluginLocator     = pluginLocator;
     _codeEnginelocator = codeEnginelocator;
     _editorLocator     = editorLocator;
 }
Esempio n. 3
0
 public EnvironmentHandler(string token, Action <string> dispatch, ICodeEngineLocator locator, ILocateEditorEngine editorLocator, EnvironmentService environment)
 {
     _token         = token;
     _dispatch      = dispatch;
     _locator       = locator;
     _editorLocator = editorLocator;
     _environment   = environment;
 }
 public EnvironmentService(string defaultLanguage, string[] enabledLanguages, Func<PluginLocator> pluginLocator, ICodeEngineLocator codeEnginelocator, ILocateEditorEngine editorLocator)
 {
     _defaultLanguage = defaultLanguage;
     _enabledLanguages = enabledLanguages;
     _pluginLocator = pluginLocator;
     _codeEnginelocator = codeEnginelocator;
     _editorLocator = editorLocator;
 }
Esempio n. 5
0
 public EditorHandler(ILocateEditorEngine editorFactory, Func<PluginLocator> locator)
 {
     _editorFactory = editorFactory;
     _pluginLocator = locator;
 }