1 write to OptionStore
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPageControl.cs (1)
36this.OptionStore = optionStore;
25 references to OptionStore
Microsoft.VisualStudio.LanguageServices.CSharp (9)
Options\AdvancedOptionPageControl.xaml.cs (6)
180var enabledForParameters = this.OptionStore.GetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp); 189var enabledForTypes = this.OptionStore.GetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp); 198this.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp, true); 204this.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp, false); 210this.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp, true); 216this.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp, false);
Options\IntelliSenseOptionPageControl.xaml.cs (3)
46onNullValue: () => this.OptionStore.GetOption(CompletionOptionsStorage.ShowNewSnippetExperienceFeatureFlag)); 51var snippetValue = this.OptionStore.GetOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.CSharp); 60var enterKeyBehavior = this.OptionStore.GetOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.CSharp);
Microsoft.VisualStudio.LanguageServices.Implementation (16)
Options\AbstractOptionPageControl.cs (11)
72Source = new OptionBinding<bool>(OptionStore, optionKey), 87Source = new OptionBinding<bool?>(OptionStore, nullableOptionKey), 103Source = new PerLanguageOptionBinding<bool>(OptionStore, optionKey, languageName), 118Source = new PerLanguageOptionBinding<bool?>(OptionStore, nullableOptionKey, languageName), 134Source = new OptionBinding<int>(OptionStore, optionKey), 147Source = new PerLanguageOptionBinding<int>(OptionStore, optionKey, languageName), 160Source = new OptionBinding<T>(OptionStore, optionKey), 179Source = new PerLanguageOptionBinding<T>(OptionStore, optionKey, languageName), 198Source = new OptionBinding<T>(OptionStore, optionKey), 215Source = new OptionBinding<T?>(OptionStore, nullableOptionKey), 232Source = new PerLanguageOptionBinding<T>(OptionStore, optionKey, languageName),
Options\GridOptionPreviewControl.xaml.cs (2)
89this.ViewModel = _createViewModel(OptionStore, _serviceProvider); 108var editorconfig = EditorConfigFileGenerator.Generate(_groupedEditorConfigOptions, OptionStore, _language);
Options\OptionPreviewControl.xaml.cs (1)
83this.ViewModel = _createViewModel(this.OptionStore, _serviceProvider);
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (2)
174OptionStore.SetOption(NamingStyleOptions.NamingPreferences, _languageName, info); 181var preferences = OptionStore.GetOption<NamingStylePreferences>(NamingStyleOptions.NamingPreferences, _languageName);