public ExtensibilityAddInsGlobalSection(string name, GlobalSectionInitialization type, List <string> sectionLines) : base(name, type, sectionLines) { AddIns = new List <AddIn>(); foreach (var line in sectionLines) { var match = _addin.Match(line); if (match.Success == false) { throw new InvalidOperationException("Cannot parse addin section"); } AddIns.Add(new AddIn(match.Groups["progid"].Value, match.Groups["connected"].Value == "1", match.Groups["name"].Value, match.Groups["description"].Value)); } }
protected GlobalSection(string name, GlobalSectionInitialization type, List<string> sectionLines) { Name = name; Type = type; Lines = sectionLines; }
protected GlobalSection(string name, GlobalSectionInitialization type, List <string> sectionLines) { Name = name; Type = type; Lines = sectionLines; }
public ExtensibilityAddInsGlobalSection(string name, GlobalSectionInitialization type, List<string> sectionLines) : base(name,type,sectionLines) { AddIns = new List<AddIn>(); foreach (var line in sectionLines) { var match = _addin.Match(line); if (match.Success == false) throw new InvalidOperationException("Cannot parse addin section"); AddIns.Add(new AddIn(match.Groups["progid"].Value, match.Groups["connected"].Value == "1", match.Groups["name"].Value, match.Groups["description"].Value)); } }