예제 #1
0
 private void WriteProjection(QProjection p)
 {
     _writer.Write((sbyte)QType.LambdaPart);
     _writer.Write(p.Parameters.Length);
     foreach (var parameter in p.Parameters)
     {
         WriteObject(parameter);
     }
 }
예제 #2
0
        /// <summary>
        ///     Determines whether the specified QProjection is equal to the current QProjection.
        /// </summary>
        /// <param name="l">The QProjection to compare with the current QProjection.</param>
        /// <returns>true if the specified QProjection is equal to the current QProjection; otherwise, false</returns>
        public bool Equals(QProjection p)
        {
            if (p == null)
            {
                return false;
            }

            return Utils.ArrayEquals(_parameters, p._parameters);
        }
예제 #3
0
        /// <summary>
        ///     Determines whether the specified QProjection is equal to the current QProjection.
        /// </summary>
        /// <param name="l">The QProjection to compare with the current QProjection.</param>
        /// <returns>true if the specified QProjection is equal to the current QProjection; otherwise, false</returns>
        public bool Equals(QProjection p)
        {
            if (p == null)
            {
                return(false);
            }

            return(Utils.ArrayEquals(_parameters, p._parameters));
        }
예제 #4
0
 private void WriteProjection(QProjection p)
 {
     writer.Write((sbyte)QType.LambdaPart);
     writer.Write(p.Parameters.Length);
     foreach (object parameter in p.Parameters)
     {
         WriteObject(parameter);
     }
 }