Example #1
0
 /// <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);
Example #2
0
 /// <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);
Example #3
0
 /// <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);
Example #4
0
 /// <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);
Example #5
0
 /// <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);
Example #6
0
 /// <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);
Example #7
0
 /// <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);
Example #8
0
 public T GetOption <T>(PerLanguageOption <T> option, string?language)
 => OptionsHelpers.GetOption(option, language, GetOption);
Example #9
0
 internal T GetOption <T>(Option2 <T> option)
 => OptionsHelpers.GetOption(option, GetOption);
Example #10
0
 public T GetOption <T>(Option <T> option)
 => OptionsHelpers.GetOption(option, GetOption);