private void WriteProjection(QProjection p) { _writer.Write((sbyte)QType.LambdaPart); _writer.Write(p.Parameters.Length); foreach (var parameter in p.Parameters) { WriteObject(parameter); } }
/// <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); }
/// <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)); }
private void WriteProjection(QProjection p) { writer.Write((sbyte)QType.LambdaPart); writer.Write(p.Parameters.Length); foreach (object parameter in p.Parameters) { WriteObject(parameter); } }