public override bool Equals(object obj) { if (this == obj) { return(true); } if ((obj == null) || (this.GetType() != obj.GetType())) { return(false); } WindowFrame Other = (WindowFrame)obj; return(Object.Equals(this.Type, Other.Type) && Object.Equals(this.Start, Other.Start) && Object.Equals(this.End, Other.End)); }
public Window(NodeLocation location, IEnumerable <object> partitionBy, OrderBy orderBy, WindowFrame frame) : base(location) { this.PartitionBy = partitionBy ?? throw new ArgumentNullException("partitionBy"); this.OrderBy = orderBy; // These are actually optional ?? throw new ArgumentNullException("orderBy"); this.Frame = frame; // These are actually optional ?? throw new ArgumentNullException("frame"); }
public Window(IEnumerable <object> partitionBy, OrderBy orderBy, WindowFrame frame) : this(null, partitionBy, orderBy, frame) { }