Beispiel #1
0
 public EnvironmentHandler(Action<string> dispatch, ICodeEngineLocator locator, ILocateEditorEngine editorLocator, EnvironmentService environment)
 {
     _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;
 }
Beispiel #3
0
 public EditorHandler(ILocateEditorEngine editorFactory, Func<PluginLocator> locator)
 {
     _editorFactory = editorFactory;
     _pluginLocator = locator;
 }