Пример #1
0
		public MethodMeasure MeasureMethod (MethodDefinition method) 
		{
			MethodMeasure methodMeasure = new MethodMeasure (method);
			methodMeasure.TotalLines = CalculateTotalLines (method);
			methodMeasure.Parameters = CalculateParameters (method);
			return methodMeasure;
		}
Пример #2
0
        public MethodMeasure MeasureMethod(MethodDefinition method)
        {
            MethodMeasure methodMeasure = new MethodMeasure(method);

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