8 references to IExtractClassOptionsService
Microsoft.CodeAnalysis.Features (8)
ExtractClass\AbstractExtractClassRefactoringProvider.cs (5)
17internal abstract class AbstractExtractClassRefactoringProvider(IExtractClassOptionsService? service) : CodeRefactoringProvider 19private readonly IExtractClassOptionsService? _optionsService = service; 36var optionsService = _optionsService ?? solution.Services.GetService<IExtractClassOptionsService>(); 57private async Task<(ExtractClassWithDialogCodeAction? action, bool hasBaseType)> TryGetMemberActionAsync(CodeRefactoringContext context, IExtractClassOptionsService optionsService) 115private async Task<ExtractClassWithDialogCodeAction?> TryGetClassActionAsync(CodeRefactoringContext context, IExtractClassOptionsService optionsService)
ExtractClass\ExtractClassWithDialogCodeAction.cs (3)
28IExtractClassOptionsService service, 37private readonly IExtractClassOptionsService _service = service; 54var extractClassService = _service ?? _document.Project.Solution.Services.GetRequiredService<IExtractClassOptionsService>();