Click or drag to resize

BsonExpression Methods

The BsonExpression type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate(String) Parse string and create new instance of BsonExpression - can be cached
Public methodStatic memberCreate(String, BsonDocument) Parse string and create new instance of BsonExpression - can be cached
Public methodStatic memberCreate(String, BsonValue) Parse string and create new instance of BsonExpression - can be cached
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute(Collation) Execute expression with an empty document (used only for resolve math/functions).
Public methodExecute(BsonDocument, Collation) Execute expression and returns IEnumerable values
Public methodExecute(IEnumerableBsonDocument, Collation) Execute expression and returns IEnumerable values
Public methodExecuteScalar(Collation) Execute scalar expression with an blank document and empty source (used only for resolve math/functions).
Public methodExecuteScalar(BsonDocument, Collation) Execute scalar expression over single document and return a single value (or BsonNull when empty). Throws exception if expression are not scalar expression
Public methodExecuteScalar(IEnumerableBsonDocument, Collation) Execute scalar expression over multiple documents and return a single value (or BsonNull when empty). Throws exception if expression are not scalar expression
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also