Exemplo n.º 1
0
 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"));
 }
Exemplo n.º 2
0
 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"));
 }