Esempio 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]);
     }
 }
Esempio 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]);
     }
 }
Esempio n. 3
0
 internal ReadOnlyProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process, Exception error)
 {
     _variables = new BpmEngine.ProcessVariablesContainer(elementID, state, process);
     _error     = error;
 }
Esempio n. 4
0
 internal ReadOnlyProcessVariablesContainer(string elementID, ProcessState state, BusinessProcess process)
     : this(elementID, state, process, null)
 {
 }