File: ProjectSystemShim\TempPECompilerFactory.vb
Web Access
Project: src\src\VisualStudio\VisualBasic\Impl\Microsoft.VisualStudio.LanguageServices.VisualBasic.vbproj (Microsoft.VisualStudio.LanguageServices.VisualBasic)
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
 
Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.ProjectSystemShim.Interop
 
Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.ProjectSystemShim
    Friend Class TempPECompilerFactory
        Implements IVbTempPECompilerFactory
 
        Private ReadOnly _workspace As VisualStudioWorkspace
 
        Public Sub New(workspace As VisualStudioWorkspace)
            Me._workspace = workspace
        End Sub
 
        Public Function CreateCompiler() As IVbCompiler Implements IVbTempPECompilerFactory.CreateCompiler
            Return New TempPECompiler(_workspace)
        End Function
    End Class
End Namespace