コード例 #1
0
ファイル: SubFlow.cs プロジェクト: EDOlsson/White
 public virtual void Next(Type type)
 {
     currentFlowStepSnapShot = 0;
     var subFlowStep = new SubFlowStep {Label = type.Name};
     subFlowStep.AddScreenShot(TakeScreenShot(type.Name));
     flowSteps.Add(subFlowStep);
     screenCreationTime = DateTime.Now;
 }
コード例 #2
0
 public virtual void Act()
 {
     if (!IsEmpty)
     {
         SubFlowStep previousSubFlowStep = flowSteps[flowSteps.Count - 1];
         previousSubFlowStep.AddScreenShot(TakeScreenShot(previousSubFlowStep.Label));
         previousSubFlowStep.TimeSpent = (DateTime.Now - screenCreationTime).Milliseconds;
     }
 }
コード例 #3
0
        public virtual void Next(Type type)
        {
            currentFlowStepSnapShot = 0;
            var subFlowStep = new SubFlowStep {
                Label = type.Name
            };

            subFlowStep.AddScreenShot(TakeScreenShot(type.Name));
            flowSteps.Add(subFlowStep);
            screenCreationTime = DateTime.Now;
        }