Click or drag to resize
AtomicExpression Class
Represents an atomic expression, where a field must be in a specified relationship to a value.
Remarks
The operands should be initialized before the operator, so that the class can ensure type compatibility.
Inheritance Hierarchy

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 AtomicExpression : FilterExpression

The AtomicExpression type exposes the following members.

Constructors
  NameDescription
Public methodAtomicExpression
Initializes a new instance of the AtomicExpression class with the given field, value and operator.
Remarks
Throws an error if the field type is not compatible with the operator.
Top
Properties
  NameDescription
Public propertyOp
Gets or sets the operator for this atomic expression.
Remarks
Throws an error if the field type is not compatible with a specific operator.

See description of enum Operator values for a list of compatible types and operators.

Public propertyValue
Gets or sets the Value for this atomic expression.
Remarks
This property contains both the left and right operands. The Name property of the field represents the left operand and the Value property represents the right operand.

This property should be set before the operator Op property.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate (Overrides FilterExpressionEvaluate(ITypedKeyValueContainer).)
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 methodToString (Overrides ObjectToString.)
Public methodValidate (Overrides FilterExpressionValidate(IFieldDefinitions, Boolean).)
Top
See Also
Community
Edit

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