public IPlugin Install(Configuration.Config c) { foreach (var child in c.getNode("licenses")? .childrenByName("license") .Where(n => !string.IsNullOrWhiteSpace(n.TextContents)) ?? Enumerable.Empty <Node>()) { licenses.Add(StaticLicenseProvider.CleanupLicenseString(child.TextContents)); } c.Plugins.add_plugin(this); return(this); }