Class HasChangedFunction
special AST node HasChanged language feature.
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.Syntax
Assembly: TimeCockpit.Data.dll
Syntax
public class HasChangedFunction : Expression
Constructors
HasChangedFunction(String, Expression, Expression, Expression)
Initializes a new instance of the HasChangedFunction class.
Declaration
public HasChangedFunction(string alias, Expression lastSentAnchor, Expression currentVersion, Expression replicaId)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The alias to check. |
Expression | lastSentAnchor | The last sent anchor expression. |
Expression | currentVersion | The current version expresison. |
Expression | replicaId | The replicaId expression. |
Properties
Alias
Gets the alias.
Declaration
public string Alias { get; }
Property Value
Type | Description |
---|---|
System.String |
CurrentVersion
Gets the expression producing the CurrentVersion value.
Declaration
public Expression CurrentVersion { get; }
Property Value
Type | Description |
---|---|
Expression |
LastSentAnchor
Gets the expression producing the lastSentAnchor value.
Declaration
public Expression LastSentAnchor { get; }
Property Value
Type | Description |
---|---|
Expression |
ReplicaId
Gets the expression producing the replica id.
Declaration
public Expression ReplicaId { get; }
Property Value
Type | Description |
---|---|
Expression |
Methods
Accept(Visitor)
dispatches a visitor to the node.
Declaration
public override Node Accept(Visitor visitor)
Parameters
Type | Name | Description |
---|---|---|
Visitor | visitor | the visitor to dispatch. |
Returns
Type | Description |
---|---|
Node | The modified node if it or any sub node was modified; otherwise, returns the original. |