Foundation.NSExpression: Method Members

The methods of Foundation.NSExpression are listed below. For a list of all members, see the NSExpression Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

AllowEvaluation()
Forces an expression to be allowed to be evaluated. Expressions read from archives are not initially trusted.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
EncodeTo(NSCoder)
Encodes the state of the object on the provided encoder
ExpressionValueWithObject(NSObject, NSMutableDictionary) : NSExpression
Evaluates the expression using the specified object and context.
static
FromAggregate(NSExpression[]) : NSExpression
An aggregate expression containing the specified subexpressions.
static
FromAnyKey() : NSExpression
An expression that represents any key for a Spotlight query.
static
FromConstant(NSObject) : NSExpression
An expression that represents a constant value.
static
FromFormat(string, NSExpression[]) : NSExpression
An expression from the specified expression format, with the specified parameters.
static
FromFunction(NSExpressionHandler, NSExpression[]) : NSExpression
An expression created by executing the specified NSExpressionHandler target with the specified parameters.
static
FromFunction(string, NSExpression[]) : NSExpression
Documentation for this section has not yet been entered.
static
FromFunction(NSExpression, string, NSExpression[]) : NSExpression
Documentation for this section has not yet been entered.
static
FromIntersectSet(NSExpression, NSExpression) : NSExpression
An expression that represents the intersection of an expression that evaluates as an NSSet (left) and an expression that evaluates as a collection (right).
static
FromKeyPath(string) : NSExpression
An expression generated by invoking ValueForKeyPath on the specified keyPath.
static
FromMinusSet(NSExpression, NSExpression) : NSExpression
An expression that subtracts an expression that evaluates as a collection (right) from an expression that evaluates as a set (left).
static
FromSubquery(NSExpression, string, NSObject) : NSExpression
An expression that filters a given variable by applying a predicate, returning those that evaluate as true.
static
FromUnionSet(NSExpression, NSExpression) : NSExpression
An expression that represents the union of an expression that evaluates as an expression (left) with an expression that evaluates as a collection (right).
static
FromVariable(string) : NSExpression
An expression that extracts the specified variable from the variable bindings dictionary.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSExpression object.