public static T GetOption <T>(Option2 <T> option, Func <OptionKey, object?> getOption) => GetOption <T>(new OptionKey(option), getOption);
[return : MaybeNull] public T GetOption <T>(Option2 <T> option) => _globalOptionService.GetOption(option);
internal OptionSet WithChangedOption <T>(Option2 <T> option, T value) => WithChangedOption(new OptionKey(option), value);
internal T GetOption <T>(Option2 <T> option) => OptionsHelpers.GetOption(option, GetOptionCore);
internal OptionSet WithChangedOption <T>(Option2 <T> option, T value) { return(WithChangedOption(new OptionKey(option), value)); }
public static T GetOption <T>(Option2 <T> option, Func <OptionKey, object?> getOption) { return(GetOption <T>(new OptionKey(option), getOption)); }