Exemple #1
0
 private bool Equals(PrimaryValue pOther)
 {
     return Equals(_value, pOther._value) && _type == pOther._type;
 }
Exemple #2
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 public PrimaryValue(PrimaryValue pValue)
 {
     _value = pValue._value;
     _type = pValue._type;
 }
Exemple #3
0
 /// <summary>
 /// Assign the value from another primary value object.
 /// </summary>
 /// <param name="pValue"></param>
 public void set(PrimaryValue pValue)
 {
     if (_type != pValue._type)
     {
         throw new ModelException("PrimaryValues are not of the same type.");
     }
     _value = pValue._value;
 }