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