Exemple #1
0
 private static M.Config ConvertConfig(Ide.Config config)
 {
   var ps = config.ProjectSupport;
   var projectSupport = new M.ProjectSupport(ps.Caption, ps.TypeFullName, ps.Path);
   var languages = config.Languages.Select(x => new M.LanguageInfo(x.Name, x.Path, new M.DynamicExtensionInfo[0])).ToArray();
   var msgConfig = new M.Config(projectSupport, languages, new string[0]);
   return msgConfig;
 }
Exemple #2
0
        private static M.Config ConvertConfig(Ide.Config config)
        {
            var ps             = config.ProjectSupport;
            var projectSupport = new M.ProjectSupport(ps.Caption, ps.TypeFullName, ps.Path);
            var languages      = config.Languages.Select(x => new M.LanguageInfo(x.Name, x.Path, new M.DynamicExtensionInfo[0])).ToArray();
            var msgConfig      = new M.Config(projectSupport, languages, new string[0]);

            return(msgConfig);
        }