// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.SolutionCrawler; namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Client.LocalForwarders { [ExportLanguageServiceFactory(typeof(IDocumentDifferenceService), StringConstants.CSharpLspLanguageName), Shared] internal class CSharpLspDocumentDifferenceServiceFactory : ILanguageServiceFactory { [ImportingConstructor] public CSharpLspDocumentDifferenceServiceFactory() { } public ILanguageService CreateLanguageService(HostLanguageServices languageServices) { return languageServices.GetOriginalLanguageService(); } } }