示例#1
0
 public ActivityParameter(string name, object plainValue)
 {
     CodeContract.Requires(!string.IsNullOrEmpty(name));
     CodeContract.Requires(plainValue != null);
     Name      = name;
     Evaluator = new ActivityParameterEvaluator(plainValue);
 }
 public ActivityParameterEvaluator(ActivityParameterEvaluator[] evaluatorArray)
 {
     EvaluatorArray = evaluatorArray;
     ValueType = ActivityParameterValueType.Array;
 }