Table of Contents

Class HasChangedFunction

Namespace
TimeCockpit.Data.QueryLanguage.Syntax
Assembly
TimeCockpit.Data.dll

special AST node HasChanged language feature.

public class HasChangedFunction : Expression
Inheritance
Object
HasChangedFunction
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

HasChangedFunction(String, Expression, Expression, Expression)

Initializes a new instance of the HasChangedFunction class.

public HasChangedFunction(string alias, Expression lastSentAnchor, Expression currentVersion, Expression replicaId)

Parameters

alias String

The alias to check.

lastSentAnchor Expression

The last sent anchor expression.

currentVersion Expression

The current version expresison.

replicaId Expression

The replicaId expression.

Properties

Alias

Gets the alias.

public string Alias { get; }

Property Value

String

CurrentVersion

Gets the expression producing the CurrentVersion value.

public Expression CurrentVersion { get; }

Property Value

Expression

LastSentAnchor

Gets the expression producing the lastSentAnchor value.

public Expression LastSentAnchor { get; }

Property Value

Expression

ReplicaId

Gets the expression producing the replica id.

public Expression ReplicaId { get; }

Property Value

Expression

Methods

Accept(Visitor)

dispatches a visitor to the node.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

the visitor to dispatch.

Returns

Node

The modified node if it or any sub node was modified; otherwise, returns the original.