public Expression AcquireValue(HttpContext context) { switch (Type) { case ValueType.QueryString: _Value = context.Request.QueryString[Key] ?? string.Empty; break; case ValueType.Session: object o = context.Session[Key]; _Value = o == null ? string.Empty : o.ToString(); break; case ValueType.Method: if (Parameters != null) { foreach (Expression Parameter in Parameters) { Parameter.AcquireValue(context); } } break; } return(this); }