Add back a constructor
We still need this for now. Both constructors call the non-obsolete constructor on the base class. Will remove this once ServiceHub starts calling the new constructor.
This commit is contained in:
parent
a418a175a9
commit
bf2a6140f0
|
|
@ -15,6 +15,12 @@ namespace Microsoft.CodeAnalysis.Remote.Razor
|
||||||
{
|
{
|
||||||
internal class RazorLanguageService : ServiceHubServiceBase
|
internal class RazorLanguageService : ServiceHubServiceBase
|
||||||
{
|
{
|
||||||
|
[Obsolete("This will be removed as part of #976. ServiceHub still calls this constructor. Remove once ServiceHub can use the other one.")]
|
||||||
|
public RazorLanguageService(Stream stream, IServiceProvider serviceProvider)
|
||||||
|
: base(serviceProvider, stream)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public RazorLanguageService(IServiceProvider serviceProvider, Stream stream)
|
public RazorLanguageService(IServiceProvider serviceProvider, Stream stream)
|
||||||
: base(serviceProvider, stream)
|
: base(serviceProvider, stream)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue