Exemplo n.º 1
0
 public VsSolutionFileGlobalSection(string name, PrePostSolution prePost)
 {
     Name           = name;
     SectionPrePost = prePost;
     Items          = new Dictionary <string, string>();
 }
        internal static void Add(this Dictionary <string, VsSolutionFileGlobalSection> list, string name, PrePostSolution prePost, string[][] values = null)
        {
            var item = new VsSolutionFileGlobalSection(name, prePost);

            if (values != null)
            {
                foreach (var value in values)
                {
                    item.Items.Add(value[0], value[1]);
                }
            }

            list.Add(item.Name, item);
        }