using System;
using AnticipatingMinds.CodeInsight;
using AnticipatingMinds.Genesis.CodeDOM;
namespace AnticipatingMinds.Metrics{
/// <summary>
/// Summary description for AssembliesCount.
/// </summary>
public class AssembliesCount : SolutionMetric
{
public override string Id
{
get
{
return "ProjectsCount";
}
}
public override string Name
{
get
{
return "Projects";
}
}
public override string Description
{
get
{
return "Number of Projects in the solution";
}
}
public override string HelpUrl
{
get
{
return string.Empty;
}
}
public override decimal GetValue(CodeSolution codeSolution)
{
return codeSolution.Assemblies.Count;
}
}
}
|