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