public MethodMeasure MeasureMethod (MethodDefinition method) 
		{
			MethodMeasure methodMeasure = new MethodMeasure (method);
			methodMeasure.TotalLines = CalculateTotalLines (method);
			methodMeasure.Parameters = CalculateParameters (method);
			return methodMeasure;
		}
Beispiel #2
0
        public MethodMeasure MeasureMethod(MethodDefinition method)
        {
            MethodMeasure methodMeasure = new MethodMeasure(method);

            methodMeasure.TotalLines = CalculateTotalLines(method);
            methodMeasure.Parameters = CalculateParameters(method);
            return(methodMeasure);
        }