Exemplo n.º 1
0
        /// <summary>
        ///     Determines whether the specified QLambda is equal to the current QLambda.
        /// </summary>
        /// <param name="l">The QLambda to compare with the current QLambda.</param>
        /// <returns>true if the specified QLambda is equal to the current QLambda; otherwise, false</returns>
        public bool Equals(QLambda l)
        {
            if (l == null)
            {
                return(false);
            }

            return(_expression.Equals(l._expression));
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Determines whether the specified QLambda is equal to the current QLambda.
        /// </summary>
        /// <param name="l">The QLambda to compare with the current QLambda.</param>
        /// <returns>true if the specified QLambda is equal to the current QLambda; otherwise, false</returns>
        public bool Equals(QLambda l)
        {
            if (l == null)
            {
                return false;
            }

            return _expression.Equals(l._expression);
        }
Exemplo n.º 3
0
 private void WriteLambda(QLambda l)
 {
     _writer.Write((sbyte)QType.Lambda);
     _writer.Write((byte)0);
     WriteString(l.Expression.ToCharArray());
 }
Exemplo n.º 4
0
 private void WriteLambda(QLambda l)
 {
     writer.Write((sbyte)QType.Lambda);
     writer.Write((byte)0);
     WriteString(l.Expression.ToCharArray());
 }