示例#1
0
        public NSPredicateEditorRowTemplate(
            string leftExpressionFromKeyPath,
            IEnumerable<string> rightExpressionsFromConstants,
            IEnumerable<NSPredicateOperatorType> operators,
            NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
            NSComparisonPredicateOptions options = NSComparisonPredicateOptions.None)
            : this(new [] { leftExpressionFromKeyPath },
				rightExpressionsFromConstants,
				operators,
				modifier,
				options)
        {
        }
示例#2
0
        public NSPredicateEditorRowTemplate(
            IEnumerable<string> leftExpressionsFromKeyPaths,
            IEnumerable<string> rightExpressionsFromConstants,
            IEnumerable<NSPredicateOperatorType> operators,
            NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
            NSComparisonPredicateOptions options = NSComparisonPredicateOptions.None)
            : this(leftExpressionsFromKeyPaths.Select (k => NSExpression.FromKeyPath (k)),
				rightExpressionsFromConstants.Select (k => NSExpression.FromConstant (new NSString (k))),
				operators,
				modifier,
				options)
        {
        }
示例#3
0
        public NSPredicateEditorRowTemplate(
            IEnumerable<NSExpression> leftExpressions,
            IEnumerable<NSExpression> rightExpressions,
            IEnumerable<NSPredicateOperatorType> operators,
            NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
            NSComparisonPredicateOptions options = NSComparisonPredicateOptions.None)
            : this(leftExpressions.ToArray (),
				rightExpressions.ToArray (),
				modifier,
				operators.Select (o => NSNumber.FromUInt32 ((uint)o)).ToArray (),
				options)
        {
        }
 public NSPredicateEditorRowTemplate(
     IEnumerable <NSExpression> leftExpressions,
     NSAttributeType attributeType,
     IEnumerable <NSPredicateOperatorType> operators,
     NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
     NSComparisonPredicateOptions options   = NSComparisonPredicateOptions.None)
     : this(
         leftExpressions.ToArray(),
         attributeType,
         modifier,
         operators.Select(o => NSNumber.FromUInt32((uint)o)).ToArray(),
         options)
 {
 }
 public NSPredicateEditorRowTemplate(
     string leftExpressionFromKeyPath,
     IEnumerable <string> rightExpressionsFromConstants,
     IEnumerable <NSPredicateOperatorType> operators,
     NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
     NSComparisonPredicateOptions options   = NSComparisonPredicateOptions.None)
     : this(
         new [] { leftExpressionFromKeyPath },
         rightExpressionsFromConstants,
         operators,
         modifier,
         options)
 {
 }
 public NSPredicateEditorRowTemplate(
     IEnumerable <string> leftExpressionsFromKeyPaths,
     IEnumerable <string> rightExpressionsFromConstants,
     IEnumerable <NSPredicateOperatorType> operators,
     NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
     NSComparisonPredicateOptions options   = NSComparisonPredicateOptions.None)
     : this(
         leftExpressionsFromKeyPaths.Select(k => NSExpression.FromKeyPath(k)),
         rightExpressionsFromConstants.Select(k => NSExpression.FromConstant(new NSString(k))),
         operators,
         modifier,
         options)
 {
 }
 public NSPredicateEditorRowTemplate(
     string leftExpressionFromKeyPath,
     NSAttributeType attributeType,
     IEnumerable <NSPredicateOperatorType> operators,
     NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
     NSComparisonPredicateOptions options   = NSComparisonPredicateOptions.None)
     : this(
         new [] { leftExpressionFromKeyPath },
         attributeType,
         operators,
         modifier,
         options)
 {
 }
 public NSPredicateEditorRowTemplate(
     IEnumerable <string> leftExpressionsFromKeyPaths,
     NSAttributeType attributeType,
     IEnumerable <NSPredicateOperatorType> operators,
     NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
     NSComparisonPredicateOptions options   = NSComparisonPredicateOptions.None)
     : this(
         leftExpressionsFromKeyPaths.Select(k => NSExpression.FromKeyPath(k)),
         attributeType,
         operators,
         modifier,
         options)
 {
 }
示例#9
0
        public NSPredicateEditorRowTemplate(
            string leftExpressionFromKeyPath,
            NSAttributeType attributeType,
            IEnumerable<NSPredicateOperatorType> operators,
            NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
            NSComparisonPredicateOptions options = NSComparisonPredicateOptions.None)
            : this(new [] { leftExpressionFromKeyPath },
				attributeType,
				operators,
				modifier,
				options)
        {
        }
示例#10
0
        public NSPredicateEditorRowTemplate(
            IEnumerable<string> leftExpressionsFromKeyPaths,
            NSAttributeType attributeType,
            IEnumerable<NSPredicateOperatorType> operators,
            NSComparisonPredicateModifier modifier = NSComparisonPredicateModifier.Direct,
            NSComparisonPredicateOptions options = NSComparisonPredicateOptions.None)
            : this(leftExpressionsFromKeyPaths.Select (k => NSExpression.FromKeyPath (k)),
				attributeType,
				operators,
				modifier,
				options)
        {
        }
示例#11
0
 public NSComparisonPredicate(NSExpression leftExpression, NSExpression rightExpression, NSComparisonPredicateModifier modifier, NSPredicateOperatorType type, NSComparisonPredicateOptions options)
 {
 }