Beispiel #1
0
        public override bool Equality(QsValue value)
        {
            QsText text = value as QsText;

            if (text == null)
            {
                return(false);
            }
            else
            {
                if (text.Text.Equals(this.Text, StringComparison.OrdinalIgnoreCase))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
        }
Beispiel #2
0
        public override QsValue AddOperation(QsValue value)
        {
            QsText t = new QsText(Text + value.ToString());

            return(t);
        }