3 types derived from VisualStudioOptionStorage
Microsoft.VisualStudio.LanguageServices (3)
40 references to VisualStudioOptionStorage
Microsoft.VisualStudio.LanguageServices (15)
Options\VisualStudioOptionPersister.cs (12)
44return VisualStudioOptionStorage.Storages.TryGetValue(optionKey.Option.Definition.ConfigName, out var storage) && TryFetch(storage, optionKey, out value);
47public bool TryFetch(VisualStudioOptionStorage storage, OptionKey2 optionKey, out object? value)
50VisualStudioOptionStorage.RoamingProfileStorage roaming => roaming.TryFetch(_visualStudioSettingsOptionPersister, optionKey, out value),
51VisualStudioOptionStorage.FeatureFlagStorage featureFlags => featureFlags.TryFetch(_featureFlagPersister, optionKey, out value),
52VisualStudioOptionStorage.LocalUserProfileStorage local => local.TryFetch(_localUserRegistryPersister, optionKey, out value),
58if (!VisualStudioOptionStorage.Storages.TryGetValue(optionKey.Option.Definition.ConfigName, out var storage))
68public Task PersistAsync(VisualStudioOptionStorage storage, OptionKey2 optionKey, object? value)
71VisualStudioOptionStorage.RoamingProfileStorage roaming => roaming.PersistAsync(_visualStudioSettingsOptionPersister, optionKey, value),
72VisualStudioOptionStorage.FeatureFlagStorage featureFlags => featureFlags.PersistAsync(_featureFlagPersister, value),
73VisualStudioOptionStorage.LocalUserProfileStorage local => local.PersistAsync(_localUserRegistryPersister, optionKey, value),
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (4)
Roslyn.VisualStudio.Next.UnitTests (21)