Ejemplo n.º 1
0
        internal static void WriteSimulationInfo(IWfProcess process, WfSimulationOperationType operationType)
        {
            if (WfRuntime.ProcessContext.EnableSimulation)
            {
                if (operationType == WfSimulationOperationType.MoveTo)
                {
                    WfRuntime.ProcessContext.SimulationContext.MoveToCount++;
                }

                WfSimulationSettings.GetConfig().Writers.ForEach(writer => writer.Write(process, operationType, WfRuntime.ProcessContext.SimulationContext));
            }
        }
		public void Write(IWfProcess process, WfSimulationOperationType operationType, WfSimulationContext context)
		{
			switch (operationType)
			{
				case WfSimulationOperationType.Startup:
					WriteStartupProcessInfo(process, context);
					break;
				case WfSimulationOperationType.MoveTo:
					WriteMoveToInfo(process, context);
					break;
			}
		}
Ejemplo n.º 3
0
        public void Write(IWfProcess process, WfSimulationOperationType operationType, WfSimulationContext context)
        {
            switch (operationType)
            {
            case WfSimulationOperationType.Startup:
                WriteStartupProcessInfo(process, context);
                break;

            case WfSimulationOperationType.MoveTo:
                WriteMoveToInfo(process, context);
                break;
            }
        }