/// <summary>
 /// Initializes a new instance of the <see cref="ValueMapping"/> class.
 /// </summary>
 /// <param name="p_Validator">The validator.</param>
 /// <param name="valueList">A list of valid value. If null an error occurred. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 /// <param name="p_ObjectList">A list of object that can be converted to value. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 /// <param name="p_DisplayStringList">A list of displayString. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 public ValueMapping(ValidatorBase p_Validator, System.Collections.IList valueList, System.Collections.IList p_ObjectList, System.Collections.IList p_DisplayStringList)
 {
     ValueList = valueList;
       DisplayStringList = p_DisplayStringList;
       ObjectList = p_ObjectList;
       if (p_Validator != null)
       {
     BindValidator(p_Validator);
       }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ValueMapping"/> class.
 /// </summary>
 /// <param name="p_Validator">The validator.</param>
 /// <param name="valueList">A list of valid value. If null an error occurred. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 /// <param name="p_ObjectList">A list of object that can be converted to value. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 /// <param name="p_DisplayStringList">A list of displayString. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList</param>
 public ValueMapping(ValidatorBase p_Validator, System.Collections.IList valueList, System.Collections.IList p_ObjectList, System.Collections.IList p_DisplayStringList)
 {
     ValueList         = valueList;
     DisplayStringList = p_DisplayStringList;
     ObjectList        = p_ObjectList;
     if (p_Validator != null)
     {
         BindValidator(p_Validator);
     }
 }
 /// <summary>
 /// Unbind the specified validator
 /// </summary>
 /// <param name="p_Validator">The validator.</param>
 public void UnBindValidator(ValidatorBase p_Validator)
 {
     p_Validator.ConvertingValueToDisplayString -= new ConvertingObjectEventHandler(p_Validator_ConvertingValueToDisplayString);
     p_Validator.ConvertingObjectToValue        -= new ConvertingObjectEventHandler(p_Validator_ConvertingObjectToValue);
     p_Validator.ConvertingValueToObject        -= new ConvertingObjectEventHandler(p_Validator_ConvertingValueToObject);
 }
 /// <summary>
 /// Unbind the specified validator
 /// </summary>
 /// <param name="p_Validator">The validator.</param>
 public void UnBindValidator(ValidatorBase p_Validator)
 {
     p_Validator.ConvertingValueToDisplayString -= new ConvertingObjectEventHandler(p_Validator_ConvertingValueToDisplayString);
       p_Validator.ConvertingObjectToValue -= new ConvertingObjectEventHandler(p_Validator_ConvertingObjectToValue);
       p_Validator.ConvertingValueToObject -= new ConvertingObjectEventHandler(p_Validator_ConvertingValueToObject);
 }