using System;
using AnticipatingMinds.Genesis.CodeDOM;
namespace AnticipatingMinds.CodeInsight{
/// <summary>
/// Represents a metric to measure aspects of a code solution.
/// </summary>
public abstract class SolutionMetric : CodeMetric
{
/// <summary>
/// Gets a measurement for the targeted program element.
/// </summary>
/// <param name="codeSolution">A solution to be measured.</param>
/// <returns>A metric value for measured element.</returns>
public abstract decimal GetValue(CodeSolution codeSolution);
}
}
|