Exemplo n.º 1
0
 internal ProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process)
 {
     Log.Debug("Producing Process Variables Container for element[{0}]", new object[] { elementID });
     _stepIndex = state.Path.CurrentStepIndex(elementID);
     _nulls     = new List <string>();
     _variables = new Dictionary <string, object>();
     _process   = process;
     foreach (string str in state[elementID])
     {
         Log.Debug("Adding variable {0} to Process Variables Container for element[{1}]", new object[] { str, elementID });
         _variables.Add(str, state[elementID, str]);
     }
 }
Exemplo n.º 2
0
 internal ProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process)
 {
     _process = process;
     _process.WriteLogLine(elementID, LogLevels.Debug, new System.Diagnostics.StackFrame(1, true), DateTime.Now, string.Format("Producing Process Variables Container for element[{0}]", new object[] { elementID }));
     _elementID = elementID;
     _stepIndex = state.Path.CurrentStepIndex(elementID);
     _nulls     = new List <string>();
     _variables = new Dictionary <string, object>();
     foreach (string str in state[elementID])
     {
         _process.WriteLogLine(elementID, LogLevels.Debug, new System.Diagnostics.StackFrame(1, true), DateTime.Now, string.Format("Adding variable {0} to Process Variables Container for element[{1}]", new object[] { str, elementID }));
         _variables.Add(str, state[elementID, str]);
     }
 }
Exemplo n.º 3
0
 internal ReadOnlyProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process, Exception error)
 {
     _variables = new BpmEngine.ProcessVariablesContainer(elementID, state, process);
     _error     = error;
 }
Exemplo n.º 4
0
 internal ReadOnlyProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process)
     : this(elementID, state, process, null)
 {
 }