Example #1
0
        protected override string ConvertToValue(out bool value)
        {
            string error;

            value = NumberVMUtils.ParseBoolean(StringValue, out error);
            return(error);
        }
Example #2
0
        protected override string ConvertToValue(out bool?value)
        {
            string error = null;

            if (IsNull)
            {
                value = null;
            }
            else
            {
                value = NumberVMUtils.ParseBoolean(StringValue, out error);
            }
            return(error);
        }