// public static NSPredicate GetNSPredicate (this PredicateData predicateData) // { // // } public static string ToSalesforceString(this NSPredicateOperatorType type) { switch (type) { // case NSPredicateOperatorType.BeginsWith: // case NSPredicateOperatorType.Between: // case NSPredicateOperatorType.Contains: // case NSPredicateOperatorType.CustomSelector: // case NSPredicateOperatorType.EndsWith: // case NSPredicateOperatorType.In: // case NSPredicateOperatorType.Like: // case NSPredicateOperatorType.Matches: case NSPredicateOperatorType.EqualTo: return("="); case NSPredicateOperatorType.GreaterThan: return(">"); case NSPredicateOperatorType.GreaterThanOrEqualTo: return(">="); case NSPredicateOperatorType.LessThan: return("<"); case NSPredicateOperatorType.LessThanOrEqualTo: return("<="); case NSPredicateOperatorType.NotEqualTo: return("!="); default: throw new NotSupportedException(); } }
public static NSPredicateOperatorType[] ToArray(this NSPredicateOperatorType type) { return(new [] { type }); }
public NSComparisonPredicate(NSExpression leftExpression, NSExpression rightExpression, NSComparisonPredicateModifier modifier, NSPredicateOperatorType type, NSComparisonPredicateOptions options) { }