| FilterExpressionParser Class |
The returned object can be serialized back into an equivalent string, which may not look exactly like the original input. That is because the parser normalizes the input, by surrounding field names and values with double quotes and by adding brackets.
Field names are case insensitive and so are string values.
Picklist values are case sensitive and the parser will throw an error if the expression contains a value not defined by the specified field.
Namespace: Sdl.LanguagePlatform.TranslationMemory
The FilterExpressionParser type exposes the following members.
| Name | Description | |
|---|---|---|
| FilterExpressionParser |
Initializes a new instance with a collection of field declarations.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse(String) |
Parses a string expression and returns the equivalent FilterExpression object.
| |
| Parse(String, IFieldDefinitions) |
Parses the provided expression, using the provided field declarations,
and returns a FilterExpression which corresponds to the expression.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |