Click or drag to resize
FilterExpressionParser Class
Provides a parser that can read a filter expression from a string and create an equivalent FilterExpression object.

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.

Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryFilterExpressionParser

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public class FilterExpressionParser

The FilterExpressionParser type exposes the following members.

Constructors
  NameDescription
Public methodFilterExpressionParser
Initializes a new instance with a collection of field declarations.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse(String)
Parses a string expression and returns the equivalent FilterExpression object.
Public methodStatic memberParse(String, IFieldDefinitions)
Parses the provided expression, using the provided field declarations, and returns a FilterExpression which corresponds to the expression.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments