Exemplo n.º 1
0
        private void OnProjectEvaluationFinished(object sender, ProjectEvaluationFinishedEventArgs args)
        {
            var evaluationInfo       = FindEvaluationContext(args);
            var evaluatedProjectInfo = evaluationInfo.EndEvaluatingProject(args.ProjectFile);
            EvaluatedProfileInfo evaluationProfileInfo = null;

            if (args.ProfilerResult != null)
            {
                evaluationProfileInfo = InterpretEvaluationProfile(args.ProfilerResult.Value);
            }
            evaluatedProjectInfo.EndEvaluatedProject(evaluationProfileInfo, args.Timestamp);
            AddMessage(evaluatedProjectInfo, args);
        }
 public void EndEvaluatedProject(EvaluatedProfileInfo evaluationProfile, DateTime endTime)
 {
     EvaluationProfile = evaluationProfile;
     EndTime           = endTime;
 }