NSPredicateValidating Class
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.
Provides custom validation logic for NSPredicate and NSExpression objects before they are evaluated.
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_iOS__Foundation_NSPredicateValidating", false)]
public class NSPredicateValidating : Foundation.NSObject, Foundation.INSPredicateValidating, IDisposable
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_MacCatalyst__Foundation_NSPredicateValidating", false)]
public class NSPredicateValidating : Foundation.NSObject, Foundation.INSPredicateValidating, IDisposable
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_macOS__Foundation_NSPredicateValidating", false)]
public class NSPredicateValidating : Foundation.NSObject, Foundation.INSPredicateValidating, IDisposable
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_tvOS__Foundation_NSPredicateValidating", false)]
public class NSPredicateValidating : Foundation.NSObject, Foundation.INSPredicateValidating, IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_iOS__Foundation_NSPredicateValidating", false)>]
type NSPredicateValidating = class
inherit NSObject
interface INSPredicateValidating
interface INativeObject
interface IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_MacCatalyst__Foundation_NSPredicateValidating", false)>]
type NSPredicateValidating = class
inherit NSObject
interface INSPredicateValidating
interface INativeObject
interface IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_macOS__Foundation_NSPredicateValidating", false)>]
type NSPredicateValidating = class
inherit NSObject
interface INSPredicateValidating
interface INativeObject
interface IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_tvOS__Foundation_NSPredicateValidating", false)>]
type NSPredicateValidating = class
inherit NSObject
interface INSPredicateValidating
interface INativeObject
interface IDisposable
- Inheritance
- Attributes
- Implements
Remarks
Implement this protocol to control which predicates and expressions are considered safe for evaluation. Each visitor method is called during validation, allowing the implementation to inspect and approve or reject individual components of a predicate tree.
Constructors
| Name | Description |
|---|---|
| NSPredicateValidating() |
Creates a new NSPredicateValidating with default values. |
| NSPredicateValidating(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSPredicateValidating(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. (Inherited from NSObject) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding |
Gets or sets a value indicating whether this instance uses direct Objective-C binding. (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Zone | (Inherited from NSObject) |