Class CompiledExpressionBase<T>
Represents a container that holds a compiled TCQL expression plus its TimeCockpit.Data.QueryLanguage.AstSourceContext and its participating members.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.QueryLanguage
Assembly: TimeCockpit.Data.dll
Syntax
public abstract class CompiledExpressionBase<T>
Type Parameters
Name | Description |
---|---|
T | The return type of the Function, declared in the concrete types. |
Methods
FindAccessedElements(ModelEntityBase, Boolean, Environment)
Finds the model elements accessed by the expression.
Declaration
public IEnumerable<ModelElement> FindAccessedElements(ModelEntityBase rootEntity, bool expandCalculatedProperties = true, Environment environment = null)
Parameters
Type | Name | Description |
---|---|---|
ModelEntityBase | rootEntity | The root entity on which expressions are based. |
System.Boolean | expandCalculatedProperties | true if calculated properties should be expanded to their instead of included directly. |
Environment | environment | The environment. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ModelElement> | Returns an enumeration of modelelements accessed in the expression. |