示例#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);
示例#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);
示例#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);
示例#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);
示例#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);
示例#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);
示例#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);
示例#8
0
 public T GetOption <T>(PerLanguageOption <T> option, string?language)
 => OptionsHelpers.GetOption(option, language, GetOption);
示例#9
0
 internal T GetOption <T>(Option2 <T> option)
 => OptionsHelpers.GetOption(option, GetOption);
示例#10
0
 public T GetOption <T>(Option <T> option)
 => OptionsHelpers.GetOption(option, GetOption);