Beispiel #1
0
 public void Fill(ExecutionArgs executionArgs)
 {
     if (HasChilds())
     {
         var last = Childs.LastOrDefault();
         if (last.Total == null)
         {
             Fill(last, (TimeSpan)executionArgs.Total, executionArgs.Result);
         }
         else
         {
             Fill(this, (TimeSpan)executionArgs.Total, executionArgs.Result);
         }
     }
     else
     {
         Fill(this, (TimeSpan)executionArgs.Total, executionArgs.Result);
     }
 }
Beispiel #2
0
 private void Fill(ExecutionArgs executionArgs, TimeSpan _total, object _result)
 {
     executionArgs.Total  = _total;
     executionArgs.Result = _result;
 }
Beispiel #3
0
 internal static void AddToExecutionItem(this List <ExecutionItem> executions, ExecutionArgs executionArgs, IAspect aspect)
 {
     executions.Add(new ExecutionItem()
     {
         ExecutionArgs = executionArgs, Aspect = aspect
     });
 }