public Cockpit() { Entries = new ObservableCollection<CockpitEntry>(); Entries.Add(_AverageComponentDependency = new CockpitEntry("Average Component Dependency", n => n + " classes")); Entries.Add(_ClassSize = new CockpitEntry("Class Size", n => n + " classes")); Entries.Add(_CyclomaticComplexity = new CockpitEntry("Cyclomatic Complexity", n => n + " methods")); Entries.Add(_MethodLength = new CockpitEntry("Method Length", n => n + " methods")); Entries.Add(_NonStaticPublicFields = new CockpitEntry("Non-Static Public Fields", n => n + " classes")); Entries.Add(_NamespacesWithCycles = new CockpitEntry("Namespaces with Cycles", n => n + " namespaces")); }
public Cockpit() { Entries = new ObservableCollection <CockpitEntry>(); Entries.Add(_AverageComponentDependency = new CockpitEntry("Average Component Dependency", n => n + " types")); Entries.Add(_ClassSize = new CockpitEntry("Class Size", n => n + " types")); Entries.Add(_CyclomaticComplexity = new CockpitEntry("Cyclomatic Complexity", n => n + " methods")); Entries.Add(_MethodLength = new CockpitEntry("Method Length", n => n + " methods")); Entries.Add(_NonStaticPublicFields = new CockpitEntry("Non-Static Public Fields", n => n + " types")); Entries.Add(_NamespacesWithCycles = new CockpitEntry("Namespaces with Cycles", n => n + " namespaces")); }