public ParameterBase(ParameterBase copyFrom)
 {
     if (copyFrom == null)
         throw new ArgumentNullException("copyFrom");
     _FallbackValue = copyFrom._FallbackValue;
     _Values = new Dictionary<int, object>(copyFrom._Values);
 }
示例#2
0
 public ParameterBase(ParameterBase copyFrom)
 {
     if (copyFrom == null)
     {
         throw new ArgumentNullException("copyFrom");
     }
     _FallbackValue = copyFrom._FallbackValue;
     _Values        = new Dictionary <int, object>(copyFrom._Values);
 }
 public EvaluationParameters(EvaluationParameters copyFrom)
 {
     if (copyFrom == null)
         throw new ArgumentNullException("copyFrom");
     _FunctionProvider = copyFrom.FunctionProvider;
     _TopLevelParameters = new Parameters.ParameterBase(copyFrom.TopLevelParameters);
     _Parameters.Add(DecodeExpressionType.IntegerParameter, new Parameters.ParameterBase(copyFrom._Parameters[DecodeExpressionType.IntegerParameter]));
     _Parameters.Add(DecodeExpressionType.PlayerParameter, new Parameters.PlayerParameters(copyFrom._Parameters[DecodeExpressionType.PlayerParameter]));
     _Parameters.Add(DecodeExpressionType.StringParameter, new Parameters.ParameterBase(copyFrom._Parameters[DecodeExpressionType.StringParameter]));
     _Parameters.Add(DecodeExpressionType.ObjectParameter, new Parameters.ObjectParameters(copyFrom._Parameters[DecodeExpressionType.ObjectParameter]));
 }
示例#4
0
 public EvaluationParameters(EvaluationParameters copyFrom)
 {
     if (copyFrom == null)
     {
         throw new ArgumentNullException("copyFrom");
     }
     _FunctionProvider   = copyFrom.FunctionProvider;
     _TopLevelParameters = new Parameters.ParameterBase(copyFrom.TopLevelParameters);
     _Parameters.Add(DecodeExpressionType.IntegerParameter, new Parameters.ParameterBase(copyFrom._Parameters[DecodeExpressionType.IntegerParameter]));
     _Parameters.Add(DecodeExpressionType.PlayerParameter, new Parameters.PlayerParameters(copyFrom._Parameters[DecodeExpressionType.PlayerParameter]));
     _Parameters.Add(DecodeExpressionType.StringParameter, new Parameters.ParameterBase(copyFrom._Parameters[DecodeExpressionType.StringParameter]));
     _Parameters.Add(DecodeExpressionType.ObjectParameter, new Parameters.ObjectParameters(copyFrom._Parameters[DecodeExpressionType.ObjectParameter]));
 }
 public ObjectParameters(ParameterBase copyFrom) : base(copyFrom)
 {
 }
 public PlayerParameters(ParameterBase copyFrom) : base(copyFrom)
 {
 }
 public PlayerParameters(ParameterBase copyFrom)
     : base(copyFrom)
 {
 }
 public ObjectParameters(ParameterBase copyFrom) : base(copyFrom) { }