1 interface inheriting from OptionsProvider
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleOptions.cs (1)
37
:
OptionsProvider
<NamingStylePreferences>
32 references to OptionsProvider
Microsoft.CodeAnalysis.Features.UnitTests (29)
FindUsages\DefinitionItemFactoryTests.cs (29)
135
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
171
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
213
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
249
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
291
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
333
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
386
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
440
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
480
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
520
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
562
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
620
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
666
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
706
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
768
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
824
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
878
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
939
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
982
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1037
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1089
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1153
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1210
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1265
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1346
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1405
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1457
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1524
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
1595
var
classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
Microsoft.CodeAnalysis.Workspaces (3)
Remote\RemoteOptionsProvider.cs (1)
16
internal sealed class RemoteOptionsProvider<TOptions>(SolutionServices services,
OptionsProvider
<TOptions> optionsProvider)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\OptionsProvider.cs (2)
21
private sealed class OptionsReaderProvider<TOptions>(IOptionsReader optionsReader, Func<IOptionsReader, string, TOptions> reader) :
OptionsProvider
<TOptions>
27
public static
OptionsProvider
<TOptions> GetProvider<TOptions>(this IOptionsReader optionsReader, Func<IOptionsReader, string, TOptions> reader)