File: Workspaces\TestLanguageServerFeatureOptions.cs
Web Access
Project: src\src\Razor\src\Razor\test\Microsoft.AspNetCore.Razor.Test.Common.Tooling\Microsoft.AspNetCore.Razor.Test.Common.Tooling.csproj (Microsoft.AspNetCore.Razor.Test.Common.Tooling)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.CodeAnalysis.Razor.Workspaces;
 
namespace Microsoft.AspNetCore.Razor.Test.Common.Workspaces;
 
internal class TestLanguageServerFeatureOptions(
    bool showAllCSharpCodeActions = false) : LanguageServerFeatureOptions
{
    public static readonly LanguageServerFeatureOptions Instance = new TestLanguageServerFeatureOptions();
 
    public override bool SupportsFileManipulation => false;
 
    public override bool ReturnCodeActionAndRenamePathsWithPrefixedSlash => false;
 
    public override bool ShowAllCSharpCodeActions => showAllCSharpCodeActions;
}