Example #1
0
 public RuntimeMember Find(MemberSpecification specification) {
     Assert.IsTrue(specification.MatchesIdentifierName("dynamic"));
     return new QueryableMember("dynamic");
 }
Example #2
0
        public RuntimeMember Find(MemberSpecification specification) {
	        return columnAccessors.Find(specification, accessor => specification.MatchesIdentifierName(accessor.Key));
        }
Example #3
0
	    public RuntimeMember Find(MemberSpecification specification) {
	        return columnAccessors.Find(specification, accessor => {
	            var accessorName = accessor.Key.EndsWith("=")
	                                      ? accessor.Key.Substring(0, accessor.Key.Length - 1)
	                                      : accessor.Key;
	            if (!specification.MatchesIdentifierName(accessorName)) return false;
	            if (currentHeader != null && currentHeader.Text.EndsWith("=") && !accessor.Key.EndsWith("=")) return false;
	            if (currentHeader != null && !currentHeader.Text.EndsWith("=") && accessor.Key.EndsWith("=")) return false;
	            return true;
	        });
	    }