示例#1
0
 public WebViewRouter(
     IComponentModel componentModel,
     ICodeStreamService codestreamService,
     IWebviewUserSettingsService webviewUserSettingsService,
     ISessionService sessionService,
     ICodeStreamAgentService codeStreamAgent,
     ISettingsServiceFactory settingsServiceFactory,
     IEventAggregator eventAggregator,
     IBrowserService browserService,
     IIdeService ideService,
     IEditorService editorService,
     IAuthenticationServiceFactory authenticationServiceFactory)
 {
     _componentModel             = componentModel;
     _codeStreamService          = codestreamService;
     _webviewUserSettingsService = webviewUserSettingsService;
     _sessionService             = sessionService;
     _codeStreamAgent            = codeStreamAgent;
     _settingsManager            = settingsServiceFactory.GetOrCreate(nameof(WebViewRouter));
     _eventAggregator            = eventAggregator;
     _browserService             = browserService;
     _ideService    = ideService;
     _editorService = editorService;
     _authenticationServiceFactory = authenticationServiceFactory;
 }
示例#2
0
 public LiveShareController(
     ISessionService sessionService,
     ICodeStreamAgentService codeStreamAgent,
     IEventAggregator eventAggregator,
     IBrowserService browserService,
     IIdeService ideService)
 {
     _sessionService  = sessionService;
     _codeStreamAgent = codeStreamAgent;
     _eventAggregator = eventAggregator;
     _browserService  = browserService;
     _ideService      = ideService;
 }
 public AuthenticationController(
     ISettingsManager settingManager,
     ISessionService sessionService,
     ICodeStreamAgentService codeStreamAgent,
     IEventAggregator eventAggregator,
     ICredentialsService credentialsService,
     IWebviewUserSettingsService webviewUserSettingsService)
 {
     _settingsManager            = settingManager;
     _sessionService             = sessionService;
     _codeStreamAgent            = codeStreamAgent;
     _eventAggregator            = eventAggregator;
     _credentialsService         = credentialsService;
     _webviewUserSettingsService = webviewUserSettingsService;
 }
 public DocumentMarkerManager(ICodeStreamAgentService agentService, IWpfTextView wpfTextView, IVirtualTextDocument virtualTextDocument)
 {
     _agentService        = agentService;
     _wpfTextView         = wpfTextView;
     _virtualTextDocument = virtualTextDocument;
 }
 public DocumentMarkerManager(ICodeStreamAgentService agentService, IWpfTextView wpfTextView, ITextDocument textDocument)
 {
     _agentService = agentService;
     _wpfTextView  = wpfTextView;
     _textDocument = textDocument;
 }