GKRule.FromPredicateAssertingFact(NSPredicate, NSObject, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("ruleWithPredicate:assertingFact:grade:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKRule FromPredicateAssertingFact(Foundation.NSPredicate predicate, Foundation.NSObject fact, float grade);
[<Foundation.Export("ruleWithPredicate:assertingFact:grade:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPredicateAssertingFact : Foundation.NSPredicate * Foundation.NSObject * single -> GameplayKit.GKRule
Parameters
- predicate
- NSPredicate
- fact
- NSObject
- grade
- Single
Returns
- Attributes