public AstWindowField Update(string path, AstWindowExpression value) { if (path == _path && value == _value) { return(this); } return(new AstWindowField(path, value)); }
public AstWindowField(string path, AstWindowExpression value) { _path = Ensure.IsNotNull(path, nameof(path)); _value = Ensure.IsNotNull(value, nameof(value)); }