private static TypeMetricsReport GetTypeMetrics(this MetricsReport metrics, Type type) { var typeMetrics = metrics.ForType(type); if (typeMetrics != null) { return(typeMetrics); } throw new MetricsNotFoundException(type); }
private IEnumerable <TypeMetricsReport> DependenciesOf(TypeMetricsReport type) { return(from reference in type.InterestingDirectDependencies select metrics.ForType(reference)); }
public void JumpTo(string type) { Jump(metrics.ForType(type.Substring(0, type.IndexOf("\n")))); }