예제 #1
0
파일: Linq.cs 프로젝트: jiahao42/weverca
 public Select(DirectVarUse keyVar, DirectVarUse valueVar, SelectClause clause)
     : this(keyVar, valueVar, clause.Expression)
 {
 }
예제 #2
0
파일: Linq.cs 프로젝트: hansdude/Phalanger
			public Select(DirectVarUse keyVar, DirectVarUse valueVar, SelectClause clause)
				: this(keyVar, valueVar, clause.Expression)
			{
			}
예제 #3
0
 virtual public void VisitSelectClause(Linq.SelectClause x)
 {
     VisitElement(x.Expression);
 }
예제 #4
0
파일: Linq.cs 프로젝트: hansdude/Phalanger
		//^invariant select != null ^ groupBy != null;

		public QueryBody(List<FromWhereClause>/*!*/ fromWhere, OrderByClause orderBy, object/*!*/ selectGroupBy, IntoClause into)
		{
			Debug.Assert(fromWhere != null && (selectGroupBy is SelectClause || selectGroupBy is GroupByClause));

			this.fromWhere = fromWhere;
			this.orderBy = orderBy;
			this.select = selectGroupBy as SelectClause;
			this.groupBy = selectGroupBy as GroupByClause;
			this.into = into;
		}