public void GetNamespaces() { IEnumerable<string> namespaces = from c in _assembly.GetTypes() where GetVisible(c) select c.Namespace; foreach (string n in namespaces.Distinct()) { NamespaceModel nmspc = new NamespaceModel() { Name = n }; Namespaces.Add(nmspc); nmspc.AnalyseNamespace(_assembly, _classDictionary); } }
public void GetNamespaces() { IEnumerable <string> namespaces = from c in _assembly.GetTypes() where GetVisible(c) select c.Namespace; foreach (string n in namespaces.Distinct()) { NamespaceModel nmspc = new NamespaceModel() { Name = n }; Namespaces.Add(nmspc); nmspc.AnalyseNamespace(_assembly, _classDictionary); } }