BExIS.IO.Transform.Validation.ValueValidationManager.CheckValue C# (CSharp) Метод

CheckValue() публичный Метод

public CheckValue ( string value, int row, List &errors ) : object
value string
row int
errors List
Результат object
        public object CheckValue(string value, int row, ref List<Error> errors)
        {
            object temp = value;

            if (this.NullOrOptionalCheck != null)
            {
                temp = this.NullOrOptionalCheck.Execute(value, row);

                if (temp is Error)
                {
                    errors.Add((Error)temp);
                }
                else
                {

                    if (this.DataTypeCheck != null)
                    {
                        temp = this.DataTypeCheck.Execute(value, row);
                    }

                    if (temp is Error) errors.Add((Error)temp);
                    else ConvertedValue = temp;
                }
            }

            return temp;
        }