Class HasChangedFunction
- Assembly
- TimeCockpit.Data.dll
special AST node HasChanged language feature.
public class HasChangedFunction : Expression
- Inheritance
-
ObjectHasChangedFunction
- 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
aliasStringThe alias to check.
lastSentAnchorExpressionThe last sent anchor expression.
currentVersionExpressionThe current version expresison.
replicaIdExpressionThe 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
LastSentAnchor
Gets the expression producing the lastSentAnchor value.
public Expression LastSentAnchor { get; }
Property Value
ReplicaId
Gets the expression producing the replica id.
public Expression ReplicaId { get; }
Property Value
Methods
Accept(Visitor)
dispatches a visitor to the node.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorthe visitor to dispatch.
Returns
- Node
The modified node if it or any sub node was modified; otherwise, returns the original.