public DefaultRazorConfigurationService(ClientNotifierServiceBase languageServer, ILoggerFactory loggerFactory) { if (languageServer is null) { throw new ArgumentNullException(nameof(languageServer)); } if (loggerFactory is null) { throw new ArgumentNullException(nameof(loggerFactory)); } _server = languageServer; _logger = loggerFactory.CreateLogger <DefaultRazorConfigurationService>(); }
public RazorServerReadyPublisher( ProjectSnapshotManagerDispatcher projectSnapshotManagerDispatcher, ClientNotifierServiceBase clientNotifierService) { if (projectSnapshotManagerDispatcher is null) { throw new ArgumentNullException(nameof(projectSnapshotManagerDispatcher)); } if (clientNotifierService is null) { throw new ArgumentNullException(nameof(clientNotifierService)); } _projectSnapshotManagerDispatcher = projectSnapshotManagerDispatcher; _clientNotifierService = clientNotifierService; }
public RazorServerReadyPublisher( ForegroundDispatcher foregroundDispatcher, ClientNotifierServiceBase clientNotifierService) { if (foregroundDispatcher is null) { throw new ArgumentNullException(nameof(foregroundDispatcher)); } if (clientNotifierService is null) { throw new ArgumentNullException(nameof(clientNotifierService)); } _foregroundDispatcher = foregroundDispatcher; _clientNotifierService = clientNotifierService; }