예제 #1
0
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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
파일: OptionSet.cs 프로젝트: lameox/roslyn
 /// <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);