/// <summary> /// Gets the value of the option, or the default value if not otherwise set. /// </summary> internal T GetOption <T>(PerLanguageOption2 <T> option, string?language) => OptionsHelpers.GetOption(option, language, _getOptionCore);
/// <summary> /// Gets the value of the option, or the default value if not otherwise set. /// </summary> public T GetOption <T>(Option <T> option) => OptionsHelpers.GetOption(option, _getOptionCore);
/// <summary> /// Gets the value of the option, or the default value if not otherwise set. /// </summary> internal T GetOption <T>(Option2 <T> option) => OptionsHelpers.GetOption(option, _getOptionCore);
/// <summary> /// Gets the value of the option, or the default value if not otherwise set. /// </summary> internal object?GetOption(OptionKey2 optionKey) => OptionsHelpers.GetOption <object?>(optionKey, _getOptionCore);
/// <summary> /// Gets the value of the option cast to type <typeparamref name="T"/>, or the default value if not otherwise set. /// </summary> internal T GetOption <T>(OptionKey2 optionKey) => OptionsHelpers.GetOption <T>(optionKey, _getOptionCore);
/// <summary> /// Gets the value of the option cast to type <typeparamref name="T"/>, or the default value if not otherwise set. /// </summary> public T GetOption <T>(OptionKey optionKey) => OptionsHelpers.GetOption <T>(optionKey, _getOptionCore);
/// <summary> /// Gets the value of the option, or the default value if not otherwise set. /// </summary> public object?GetOption(OptionKey optionKey) => OptionsHelpers.GetPublicOption(optionKey, _getOptionCore);
public T GetOption <T>(PerLanguageOption <T> option, string?language) => OptionsHelpers.GetOption(option, language, GetOption);
internal T GetOption <T>(Option2 <T> option) => OptionsHelpers.GetOption(option, GetOption);
public T GetOption <T>(Option <T> option) => OptionsHelpers.GetOption(option, GetOption);