/// <summary> /// Creates a new <see cref="OptionSet" /> that contains the changed value. /// </summary> public OptionSet WithChangedOption <T>(PerLanguageOption <T> option, string language, T value) { return(WithChangedOption(new OptionKey(option, language), value)); }
public T GetOption <T>(PerLanguageOption <T> option, string language) { return((T)GetOption(new OptionKey(option, language))); }
public T GetOption <T>(PerLanguageOption <T> option, string languageName) => _globalOptionService.GetOption(option, languageName);