12 references to IOptionPersister
Microsoft.CodeAnalysis.Workspaces (11)
Options\GlobalOptionService.cs (9)
33
private ImmutableArray<
IOptionPersister
> _lazyOptionPersisters;
40
private ImmutableArray<
IOptionPersister
> GetOptionPersisters()
56
static ImmutableArray<
IOptionPersister
> GetOptionPersistersSlow(
71
static async Task<ImmutableArray<
IOptionPersister
>> GetOptionPersistersAsync(
81
private static object? LoadOptionFromPersisterOrGetDefault(OptionKey2 optionKey, ImmutableArray<
IOptionPersister
> persisters)
83
foreach (
var
persister in persisters)
160
private static object? GetOption_NoLock(ref ImmutableDictionary<OptionKey2, object?> currentValues, OptionKey2 optionKey, ImmutableArray<
IOptionPersister
> persisters)
226
private static void PersistOption(ImmutableArray<
IOptionPersister
> persisters, OptionKey2 optionKey, object? value)
228
foreach (
var
persister in persisters)
Options\IOptionPersisterProvider.cs (2)
13
/// Gets the <see cref="
IOptionPersister
"/>. If the persister does not already exist, it is created.
21
ValueTask<
IOptionPersister
> GetOrCreatePersisterAsync(CancellationToken cancellationToken);
Microsoft.VisualStudio.LanguageServices (1)
Options\VisualStudioSettingsOptionPersister.cs (1)
38
/// We make sure this code is from the UI by asking for all <see cref="
IOptionPersister
"/> in <see cref="RoslynPackage.InitializeAsync"/>