public bool CanCreateSingleFileProject(string file)
        {
            IDotNetLanguageBinding binding = LanguageBindingService.GetBindingPerFileName(file) as IDotNetLanguageBinding;

            return(binding != null);
        }
示例#2
0
        IDotNetLanguageBinding FindLanguage(string name)
        {
            IDotNetLanguageBinding binding = LanguageBindingService.GetBindingPerLanguageName(languageName) as IDotNetLanguageBinding;

            return(binding);
        }